User Tools

Site Tools


en:programsyntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:programsyntax [2016/01/01 22:41]
127.0.0.1 external edit
en:programsyntax [2020/02/28 10:47] (current)
75.89.177.182
Line 1: Line 1:
 ===== Program Syntax ===== ===== Program Syntax =====
 +test
  
-BASIC-256 programs consist of a series of statements separated by newlines, which are executed in order.  A line may optional begin with a label followed without a space with a colon to be used as a destination of a [[goto|goto]], [[gosub|gosub]], or [[onerror|onerror]].+{{page>statementsprogramsyntax}}
  
-Multiple statements may be included on a single line by separating then with a : (colon).  Special care should be taken when including [[if|if/then]] statements in a compound line:+{{page>labelprogramsyntax}} 
 + 
 +{{page>compoundstatementprogramsyntax}} 
 + 
 + 
 +=== Example ===
  
 The following is a sample program that shows single line statements, compound statements, and use of a label. The following is a sample program that shows single line statements, compound statements, and use of a label.
en/programsyntax.1451713309.txt.gz · Last modified: 2020/02/28 10:46 (external edit)