I'm working on an application that will run on ACF9 on our intranet,
but also on OpenBD on laptops for field personnel.  The code base
between the intranet and mobile versions will be essentially the same,
so I need to identify differences in the behavior between ACF and
OpenBD.

At the moment, I'm interested in the behavior of the "local" scope
within UDFs (mostly within CFCs).  As I understand it, in ACF9 (or at
least 9.0.1), the "local" scope is available within UDFs, and is the
local variables scope for a given UDF.  So the following two
statements are essentially the same:

<cfset var foo = "bar">
<cfset local.foo = "bar">

Assuming I consistently use the second statement in my UDFs, will this
work in OpenBD?

P.S.: I looked around in the OpenBD Manual and on the Wiki, but
couldn't find the answer.

Thanks,
Carl

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to