STL program editor 

Program edition in STL language is carried out in STL editor – see window below.

Fig. 1. STL editor.

Edytor STL

Editor window is opened in the workspace of PC Need and follows the Windows® standards as regards the change of size and location, and closing.
Editor operation is similar to the use of a simple notebook. Text is entered from the keyboard using syntax principles given in STL. Programming is made in STL text language. It is possible to delete, shift or copy a selection or the entire text. Comments
In order to improve the legibility of the program being edited comments can be added to it.
Comment texts are not taken into account when the executive code is created.
A comment which starts with „// or” is valid to the end of the line. Such a comment can be started from the beginning of the line or from the point behind a written instruction.
Examples:
// This is a comment starting from the beginning of the line.
 ; This is also a comment starting from the beginning of the line.
A I1   ;This is a comment inserted behind an instruction.
In order to omit a greater number of lines during compilation the following comment can be used:  /*  text  */ Such a type of comment must define the beginning and the end of the text which will not be included in the program code.
Example:
/* A I1
A I2
= Q1
*/
A I3
=Q2
The first three instructions will be omitted when compiling the program. The source code will be created starting from A I3 instruction.

 STL Compilation

IInitially the bottom window is empty, and after running he compile command (F7) the compilation report is displayed. If the program is correct a message is displayed (see Fig. 1.) to provide information on completion of the program compilation, code size and percentage of relay memory occupied.
Should the program contain errors, the message will indicate the error type and location [row number, column number] – Fig. 2., including comment.


Fig. 2. Compilation error.
Converted from CHM to HTML with chm2web Pro 2.7 (unicode)