×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Read up on the STATIC keyword. When used on your D spec, a local field's
value will be retained between calls.

Brian May
Project Lead
Management Information Systems
Garan, Incorporated
Starkville, Mississippi



"Thomas Garvey" <tgarvey@xxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
03/17/2011 03:48 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc

Subject
saving status inside multiple calls to service program






Is it possible to code a procedure in a service program such that it can
retain values from one call to the next? I haven't been able to
accomplish
this and I could cut down on some logic if it can be done.

An example would be: if a flag has not been set (procedure never called
before), retrieve some static values from a database. If the flag IS set,
those values are already set and available for use in the current call to
the procedure.

Thanks

Tom Garvey



This thread ...

Replies:

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

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.