SPACE$

From QB64 Wiki
Revision as of 20:52, 12 September 2009 by imported>Clippy
Jump to navigation Jump to search

The SPACE$ function is used to insert a specified INTEGER number of spaces into a STRING value or variable.


Syntax: SPACE$(number_of_spaces%)


  • Can be used in any string value using the + concatenation operator.
  • Semicolons or + can be used in a screen PRINT or PRINT (file statement).
  • Spaces are often used to erase previous text PRINTs from the screen.



See also: STRING$, SPC



Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage