Depends what you are trying to do. See
http://www.openlaszlo.org/pipermail/laszlo-reviews/2009-November/000939.html http://www.openlaszlo.org/pipermail/laszlo-reviews/2010-May/001949.html for details and background. On 2011-11-07, at 07:16, Raju Bitter wrote: > Chapter 49 Understanding Compilation of the developer's guide doesn't > mention any limitations with <switch> statements and binary libraries. > But when I try compile a module into an LZO, the compiler complaints > about the switch statement: > http://www.openlaszlo.org/lps4.9/docs/developers/compiler.html#d0e126252 > > raju$ lzc -c lib.lzx > Compiling: lib.lzx to lib.lzo > class1.lzx:6:17: <switch> not allowed in binary libraries > > How can we deal with runtime specific code in LZO's, if the <switch> > tag is not supported? Or should it be working? > > Thanks, > Raju
