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



Joel Cochran wrote:
> 
> One caveat that Barbara Morris pointed out to me is that using "value"
> and "options(*nopass)" on the same variable can be dangerous.  If you
> want a variable to be *nopass and still take advantage of the VALUE
> benefits, then use CONST...
> 

Joel, just to clarify, it's ok to use VALUE and options(*nopass)
together as long as you make sure the parameter was passed before using
it.  But with CONST, you shouldn't refer to the parameter if it wasn't
passed, either.  So I don't think there's any reason not to use VALUE
and OPTIONS(*NOPASS).

(The dangerous thing you were doing was using the unpassed parameter as
though it was a local variable.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.