Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

SPACE

Description

The SPACE function generates a specific number of ASCII space characters. It takes the general form: 

SPACE(expression)

Where:

expression should evaluate to a positive integer value.

The SPACE function will return the specified number of ASCII space characters and is useful for padding strings. It should not be used to position output on the terminal screen as this is inefficient, accomplish this by using the @ function.

An example of use is as:

TenSpaces = SPACE(10)


Go back to jBASE BASIC.

Was this article helpful?