[Laszlo-dev] do top level compiler "if" statements work with #passthrough?
Donald Anderson
dda at ddanderson.com
Fri Mar 21 10:36:45 PDT 2008
Yes, it should work. The parser will make a node for it, and
then either keep it or throw it away depending on the if expression.
As long as it's within a if ($swf9), you'll be safe.
This stuff is only in devildog.
On Mar 21, 2008, at 12:49 PM, Henry Minsky wrote:
> Can I write this in a source file, and have the passthrough
> processed only when compiling for swf9 ?
>
>
> if ($swf9) {
> #passthrough (toplevel:true) {
>
> import flash.utils.*;
>
> }#
> }
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080321/953ab901/attachment.html
More information about the Laszlo-dev
mailing list