Ajuda del LibreOffice 7.4
LibreOffice Basic expressions utilitzen diagrames de sintaxi i convencions textuals que segueixen aquestes regles tipogràfiques
LibreOffice paraules clau bàsiques o funcions utilitzen la casing weight Call DimArray InputBox Property.
Lowercase characters indicate information to supply: end, expression, start, variable.
The syntax of a LibreOffice Basic one line statement is illustrated herewith:
Basic statement diagrams start and end with double vertical bars,
Loops indicate a possible repetition, an optional separator may be present,
Rectangles denote subsequent diagram fragments,
Diagram fragments extremities exhibit single vertical bars.
A set of LibreOffice Basic statements - with optional labels - is using a colon : sign to separate them, it can be terminated with an optional comment. REM or an apostrophe sign introduce a comment.
[opt1|opt2|opt3] Els ítems de entre parèntesis són alternatives opcionals que s'indiquen amb una barra vertical
El cas [[sep]...] Un el·lipsi indica una possible repetició es pot especificar un separador opcional
{choice1|choice2} ítems dins de claus són alternatives obligatòries que s'indiquen amb una barra vertical.
[ [label:] statement [: …] ] [{REM|'} text]
A set of LibreOffice Basic statements - with optional labels - is using a colon : sign to separate them, it can be terminated with an optional comment. REM or an apostrophe sign introduce a comment.
Sub Main
GoTo there ' skip first statement
here: Print 1, : there: Print 2 REM explanatory text here
End Sub