[Laszlo-dev] how would this lzo test work?
Henry Minsky
henry.minsky at gmail.com
Sun Feb 14 06:27:56 PST 2010
One of the cases you suggested for a lzo test case was
"Classes in the binary library that reference classes _not_ in the library,
either auto-includes or simply includes that are in another library. "
How would this test work? If you declare a class that is not in the library,
how do you reference it from
the library? Do you use a <include>?
What if I had an lzo library that defines a class "mylzoclass", that
subclasses some external class, should
I be able to write it with files like this?
some-external-class.lzx:
<!-- I'm going to include this file from my main app, not as an lzo -->
<library>
<class name="myexternalclass"/>
</library>
mylzo.lzx:
<!-- I'm going to compile this file to an lzo -->
<library>
<include href="some-external-class.lzx"/>
<class name="mylzoclass" extends="myexternalclass"/>
</library>
main.lzx:
<canvas>
<include href="some-external-class.lzx"/>
<include href="mylzo.lzx"/>
<mylzoclass/>
</canvas>
Should the compiler figure out to put the "myexternalclass" into the main
app, and the "mylzoclass" into
the lzo file?
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20100214/eec98092/attachment.html
More information about the Laszlo-dev
mailing list