Products Downloads


French version


 

The 4GL Editor sets out the document according to the hierarchical structure of the blocks.


Each block in the tree structure is identified by the icon representing its type, and by a name.


There is also the concept of logic block grouping together source lines (comment blocks, IF, ELSE or END instructions). Logic blocks do not appear in the tree structure part.


Expanding and collapsing blocks

In both views, if the block contains one or more branches, it will be preceded by the "+" or "-" sign:

"+"

the block is currently collapsed, and may therefore be expanded,

"-"

the block is currently expanded, and may therefore be collapsed.


Example: in the source view, you will see:

for the PGM block when collapsed.

for the PGM block when expanded.


You can expand or collapse a block:

  • by clicking on the "+" or "-", respectively,

  • by double-clicking on the name,

  • by selecting it, then pressing the Enter key.


Logic blocks are expanded or collapsed as follows:

  • by clicking the "+" or "-" symbol, respectively,

  • by selecting it then pressing Enter (only for a collapsed block).

  • by default, for an IF, ELSE, ELSE_IF or END instruction, collapsing will mask the lines between the IF instruction and the corresponding END instruction. You can close the instructions block separating the IF instruction from the first ELSE or ELSE_IF instruction by holding down the CONTROL button.

Limitation: text cannot be entered or pasted when the cursor is positioned on a logic block or when a collapsed logic block is included in the selection.


In the source view, when a block is expanded, an end-of-block limit is shown: L.


Renaming blocks

In the tree view, you can rename WINDOW, PROCEDURE and BREAK type blocks.


To do this, you must:

  • either select the Rename option in the context-sensitive menu associated with the block,

  • or click once on the block's name to select it, then click again to call up an input field.


↑ Top of page