Instructions are operations to be performed by the environment (General), interfaces (Main and Child) or by controls. Instructions can be in event code for a control, sent from the controller, used in the Debug/CLI Window, or in a Macro File ran.
There are number of instructions in the MakerPlot-J, and while the reference discusses various ones as part of various topics, the Debug/CLI can be used to explore and test various instructions.
Opening the Debug/CLI Window (F4), type ! to see the available controls and properties available in the listing. Select and right-click on for a help-popup, double-click it to insert it in the Debug/CLI text entry, there F1 can be used to list help items as well.
The instructions of controls can be viewed by typing the ! with the control name followed by a dot: !txtData.
The Controls Viewer (F6) also allows tree view of General, Main Interface, Controls and Child Interface Instructions, Properties, Events, values and other Information.
See the Controls Viewer for more Information.
Instructions are used by leading with ! and the instruction followed by any needed parameters.
!bounds 50,50,30,30
Control and Child Interfaces are used with !controlName.instruction parameters
!met0.bounds 20,20,100,100
Note that setting properties and variables looks similar, but include an equal sign:
!met0.max=500
Multiple instructions (as well as properties and variables) may be uses on a single line by separating with a semi-colon:
!met0.bounds 20,20,30,30; !met1.bounds 50,50,30,30
The sub-topics to this discuss a few of the many General and Main Interface instructions, which are considered environmental instructions, selecting ones worth discussion. For instructions not addressed, please see the help listings in Debug/CLI, the Code Editor or the Controls Viewer. They are all listed and accessed using !instructionName.
For Controls, Main Interface and Child Interface instructions, please see those topics.
|