SPC

Top  Previous  Next

Action

Prints spaces to the serial port or LCD display.

 

 

Syntax

PRINT SPC(x )

 

 

Remarks

x

The number of spaces to print. Range from 1 - 255.

 

Use SPACE() function to assign spaces to a string.

SPC() can only be used in combination with PRINT and LCD.

 

See Also

SPACE

 

 

Example

Dim s as XRAM String * 15, z as XRAM String * 15

s = "Hello"

Print " {"  ;s ; SPC(3) ; "}"