a blank value is still a value.
the default only kicks in when there is NO parameter passed in
On 27/01/2015 13:27, Jason Allen wrote:
I'm working on a cfc, and it has several arguments.
One of the arguments is configured to have a default.
My question is, should I write additional code to check if that
argument is blank, and if so, set it to the default value? Is there
any situation where I could expect the default value declared in the
argument not to stick?
For instance, what if argument="" is passed to the cfc? Would that
blank value override the default value that would be assigned had no
argument been declared?
Thoughts?
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.