Recent Changes - Search:

Information Foreword What is EJS? Demos/Examples Credits Links Webcasts Installation Download & Install EJS Workspaces Running EJS Conditions of Use Documentation EJS Console EJS Interface Description Panel Model Panel View Panel Deployment Elements Reference User Feedback English | Spanish | View Edit History Print PDF ## Model initialization While the variables that are created can be initialized with a constant value or a simple expression in the initial value field, in some cases a more complex initialization is needed, for instance if you need to do some preliminary calculations. The initialization panel is for coding these calculations. The lower Comment field is used to add a short description about the page that can be useful for future readers. A sample page of Initialization code to set the initial value of a double array. More than one subpanel can be created, these subpanels are executed from left to right. A context menu for reordering the subpanels is opened by right-clicking on a tab. The context menu for creating new pages or reordering the existing ones. A second context menu appears when you right click in the editing area itself. This menu offers, beside editing options, three options that assist in writing code. The option Format code facilitates verification of the code. The Open code Wizard option gives the structures for loops and conditionals. The third option, Custom and predefined methods, offers a list of predefined EJS methods and of the methods that have been created in the Custom panel. The context menu of the edition area assist in writing and formatting code.

Edit - History - Print - Recent Changes - Search
Page last modified on April 29, 2009, at 12:11 AM