Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Just FYI... CALLB doesn't call a 'module'. It calls a procedure. In
the old v3r1 examples, the main procedure of each module always had the
same name as the module itself -- so it sort of looked like you were
calling the module. But, in truth, you were calling a procedure.
CALLB works on all types of procedures (both sub-procedures and main
procedures.)
CALLP can call anything (programs, java methods, sub-procedures or main
procedures.) Note that this includes everything that CALLB can do, plus
quite a bit more.
I'm not sure if you understood that distinction or not... but I often
run into people who think 'CALLB is for modules' and 'CALLP is for
subprocedures' which is complete poppycock.
You can't convert a module into a service program. Service programs are
built from modules, just as programs are! But, you can bind by
reference instead of binding by copy. Is that what you mean?
placeThen in the programs that do the callb, change the import parms to
whichthem in a data structure using the same field names and attributes
would be returned from the (new) service program.
Not sure that I understand this... Consider simply calling a procedure
and getting back the value of the parameter(s)."
I think, if your goal is to spruce up this code, would be to create yourprototypes and PI's, and replace your CALLB's with your new prototyped
the messy CALLB syntax which does not work with /free (if that is at allimportant to you)."
Re: procedure exports, there should be little need to do more than toadd the EXPORT tag to your PI's in the module. Make sure to put your
Export fields? I really don't like the idea of exporting module datathis way. This becomes an "undocumented" interface to the procedures that
Much better to be clear about the exchange of data being passed to aprocedure. I have become a fan of template DS to describe custom "data
"ADDRESS". Address might consists of: NameLine, CareOf, Street1,Street2, City, State, Postal, geocode. Now, for any procedure that
Sorry, got off track.
HTH,
-Eric DeLong"
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.