JavaScript

JavaScript Grammar Tutorial

There are lots of free JavaScript Tutorial available from Internet, for example w3schools JS Tutorial. You only need to read the JavaScript grammar part. The other parts are not applicable to BOY.

JavaScript Objects

Please notice that the JavaScript in BOY is not executed in an environment of browser, so the objects such as document and methods such as alert(), confirm() are not available for BOY, but the general JavaScript Objects such as Date, Array, Math are still available. This is an example showing the current datetime on a Label widget.

widget.setPropertyValue("text", new Date().toString());