Navigation:  ThinBASIC language > Program Flow >

Rem

Previous pageReturn to chapter overviewNext page

 

Description

 

Indicates that the rest of the line is to be considered a comment.

 

Also ' means comment

 

Syntax

 

Rem This is a comment line

 

'This is a comment

 

Returns

 

Parameters

 

Remarks

 

REM must be indicated at the beginning of a line

' can be specified in any place of the line

 

During thinBasic pre parsing process, comments will be deleted from in memory script buffer.

 

Restrictions

 

See also

 

Examples

 

Rem ------------------------------------------------

Rem This is the start of the main program

Rem ------------------------------------------------

 

 

'------------------------------------------------

' This is the start of the main program

'------------------------------------------------

 

DIM Msg AS STRING   '---This variable will be used ...