RE: C functions

Claus Weiss <[email protected]> Mon, 30 Jul 2007 15:40:11 -0400
Newsgroups gmane.comp.systems.as400.code
Message-ID <OF7A99C698.BF469FFA-ON85257328.006C0725-85257328.006BDF36@ca.ibm.com>
I'll try to get somebody to fix those links

Claus Weiss Visual AD tools, email: [email protected]
Dept XF6 IBM Canada Lab tie 969-3987 Phone(905)413-3987 FAX(905)413-4850
Greetings from Toronto
Rational Software System i - Ecosystem Team


                                                                           
             "Kurt Anderson"                                               
             <kjanderson@highs                                             
             mith.com>                                                  To 
             Sent by:                  "CODE/400 Discussion &amp; Support" 
             code400-l-bounces         <code400-l-Zwy7GipZuJhWk0Htik3J/[email protected]>            
             @midrange.com                                              cc 
                                                                           
                                                                   Subject 
             07/30/2007 03:10          RE: C functions                     
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                 "CODE/400                                                 
             Discussion &amp;                                              
                 Support"                                                  
             <code400-l@midran                                             
                  ge.com>                                                  
                                                                           
                                                                           




Thanks for the responses.

All but 2 of the links from that Tips site are dead links.

I don't know if I was doing some bad searchers, but the only answer I
found on the newsgroup was to install the C runtime on the computers
running the program.

But, aha, the "Programming with..." is something I didn't think of.  I
tried prototyping Qsort as a procedure, I tried prototyping Qsort as a
program, and eventually decided to do it all myself and discovered I
can't Sorta on a datastructure array... But it seems you've given me a
lead.  It recommends using CallB, so I'll be giving that a try sometime
soon.

Thanks!


Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: code400-l-bounces+kjanderson=highsmith.com-Zwy7GipZuJhWk0Htik3J/[email protected]
[mailto:code400-l-bounces+kjanderson=highsmith.com-Zwy7GipZuJhWk0Htik3J/[email protected]] On
Behalf Of Claus Weiss
Sent: Monday, July 30, 2007 1:45 PM
To: CODE/400 Discussion &amp; Support
Subject: RE: C functions

Larry wrote the tip but is on this page

http://www-306.ibm.com/software/awdtools/wdt400/about/varpg/support/wint
ips.html

Claus Weiss Visual AD tools, email: [email protected] Dept XF6 IBM Canada
Lab tie 969-3987 Phone(905)413-3987 FAX(905)413-4850 Greetings from
Toronto Rational Software System i - Ecosystem Team




             "Jon Paris"

             <Jon.Paris@Partne

             r400.com>
To
             Sent by:                  <code400-l-Zwy7GipZuJhWk0Htik3J/[email protected]>

             code400-l-bounces
cc
             @midrange.com


Subject
                                       RE: C functions

             07/30/2007 02:25

             PM





             Please respond to

                 "CODE/400

             Discussion &amp;

                 Support"

             <code400-l@midran

                  ge.com>









> Has anyone managed to get C functions such as qsort & bsearch to work
> in VARPG?  I use these with dynamically built arrays.

Yes - I've seen these and several others used.

Try the IBM VARPG newsgroup for samples.

There is a very brief bit in the "Programming with ..." manual but it is
not a lot of help.  I thought there used to be stuff in Larry's pages on
the
main IBM web site   but I can't see any sign of it now.


Jon Paris
Partner400

www.Partner400.com


_______________________________________________
This is the CODE/400 Discussion &amp; Support (CODE400-L) mailing list
To post a message email: CODE400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/code400-l
or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a
moment to review the archives at http://archive.midrange.com/code400-l.

NOTE: WDSc for iSeries discussion has it's own mailing list.
Information can be found at
http://lists.midrange.com/cgi-bin/listinfo/wdsci-l



_______________________________________________
This is the CODE/400 Discussion &amp; Support (CODE400-L) mailing list
To post a message email: CODE400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/code400-l
or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a
moment to review the archives at http://archive.midrange.com/code400-l.

NOTE: WDSc for iSeries discussion has it's own mailing list.
Information can be found at
http://lists.midrange.com/cgi-bin/listinfo/wdsci-l


_______________________________________________
This is the CODE/400 Discussion &amp; Support (CODE400-L) mailing list
To post a message email: CODE400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/code400-l
or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.

NOTE: WDSc for iSeries discussion has it's own mailing list.
Information can be found at
http://lists.midrange.com/cgi-bin/listinfo/wdsci-l



_______________________________________________
This is the CODE/400 Discussion &amp; Support (CODE400-L) mailing list
To post a message email: CODE400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/code400-l
or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.

NOTE: WDSc for iSeries discussion has it's own mailing list.
Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsci-l