×

Good News Everybody!

The new search engine is LIVE!

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




For what purpose? What are you going to do with the name of the caller's parameter once you have it? What's the purpose of the boolean field? I guess I just don't understand.

Are you looking for mnemonics?

Voris, John wrote:
I am building a Subprocedure that would be nice to know if one
of the argument passed to it was the variable named
IsBlank or the variable named IsNotBlank.

I don't know how I can differentiate the two in the SubProcedure
unless IsBlank is not just a boolean, but actually a structure that is
composed of a boolean followed by a text field that carries the name
with it, so that it can be interrogated.
D IsBlank DS
D Boolean N Inz(*On)
D Text 10 Inz('IsBlank')

I suppose there is the other way, which is to make IsBlank not a
value but a Subprocedure IsBlank() and then use Procptr to decipher the
name.


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-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.