Nola irakurri sintaxi-diagramak eta instrukzioak

LibreOffice Basic instrukzioek arau tipografikoak jarraitzen dituzten sintaxi-diagramak eta testu-hitzarmenak erabiltzen dituzte. Honakoak dira arau tipografikoak:

LibreOffice Basic lengoaiaren lerro bateko instrukzio bat honelakoa da:

Diagramen adibidea

instrukzio baten sintaxia

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.

diagram fragment

Testuzko adibidea

[ [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.

Adibidea:


       Sub Main
           GoTo there ' skip first statement
           here: Print 1, : there: Print 2 REM explanatory text here
       End Sub