in Technology

OpenLaszlo – documentation typos

This is really a small thing, but can cost you a few minutes to figure out! The OpenLaszlo documentation has a few typos. The first I noticed, was the Debug.Write() instead of Debug.write(). There are other case mistakes like that. Generally these typos occur in the examples provided. If you see the LZX Reference, the actual method description will have proper method name, but the example at the top may contain wrongly typed method names.

Apart from the Debug.Write, the LzBrowzer.loadURL() is mentioned as LzBrowzer.LoadURL() . Now if you are like me, you will simply copy the code from an example and use it in your project. Assuming it would work. And when it doesn’t you are lost why does it not find a method with the name that you specified.

So keep this in mind!

BTW, I have a lot of other tips / tricks / feedback on OpenLaszlo… I am just waiting for Glancer to get over, so that I can write all of it!

Write a Comment

Comment