Whitespace

<< Click to Display Table of Contents >>

Home  mIoTa BASIC > mIoTa BASIC Language Reference > Lexical Elements >

Whitespace

Whitespace is a collective name given to spaces (blanks), horizontal and vertical tabs, new-line characters and comments. Whitespace can serve to indicate where tokens start and end, but beyond this function, any surplus whitespace is discarded.

 

For example, the two sequences

 

U1 = 35;

// a comment

U2 = 'Hello';

 

and

 

U1   = 35  ;  // a comment

U2 =

   'Hello'  ;

 

are lexically equivalent and parse identically to give eight tokens:

 

U1

=

35

;

U2

=

'Hello'

;