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

Follow-Ups:

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.