4D v13

Writing conventions

Home

 
4D View v13
Writing conventions

Writing conventions  


 

 

In the documentation, 4D View commands appear in capitals and in special characters: PV OPEN DOCUMENT.

Functions (routines returning a value) start with a capital and are written in lower-case letters: PV Get on command method.

In the method editor, the 4D View commands are displayed in bold italics, differentiating them from built-in 4D commands.

  ` 4D command
 QUERY([Clients];[Clients]S_Kode=cLi_Scode_V)
 If(Records in selection([Clients])=1)
 
  ` 4D View command
    PV BLOB TO AREA(theArea;Table(->[Clients]);Field(->[Clients]Pict))
 End if

In certain examples in the documentation, a line of code may extend to a second line due space constraints. Enter these examples in your code without a carriage return using a single line.

 
PROPERTIES 

Product: 4D
Theme: Introduction