Proper commenting helps code readability. There are three types of comments you can use in your LZX applications.
XML comments: <!-- -->
OpenLaszlo comments <?ignore ... ?>
Script comments (used in scripts), which are the same as JavaScript comments:
// or /* */
For example, the code in Listing 1.7 uses two of the three comment types:
<!-- the main file --> <canvas height="100"> <?ignore you can select one of three cities ?> <radiogroup> <radiobutton text="New York"/> <radiobutton text="Chicago"/> <radiobutton text="Seattle"/> </radiogroup> </canvas> |