× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'll try to get somebody to fix those links

Claus Weiss Visual AD tools, email: weiss@xxxxxxxxxx
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@xxxxxxxxxxxx>
@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@xxxxxxxxxxxx
[mailto:code400-l-bounces+kjanderson=highsmith.com@xxxxxxxxxxxx] 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: weiss@xxxxxxxxxx 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@xxxxxxxxxxxx>

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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.