logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Development
:
passing arguments, ad_proc definitions
: One Message
Begin main content
Forum OpenACS Development: Re: passing arguments, ad_proc definitions
Search:
Back to OpenACS Development
13
:
Re: passing arguments, ad_proc definitions
(response to
1
)
Posted by
Torben Brosten
on
11/30/10 08:39 PM
Actually, one can differentiate between an empty value and a nonexistent value using this technique. An empty value is when a named parameter is passed and it's paired value is empty. A named parameter that is not passed *is* nonexisting.
14
:
Re: passing arguments, ad_proc definitions
(response to
13
)
Posted by
Dave Bauer
on
11/30/10 08:43 PM
Correct. When you name the paramter do NOT specify a default value and then you can use info exists to check if it was specified or not.
Back to OpenACS Development