DataBasic Reference > Statements and Intrinsic Functions > S > SPACES Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

SPACES Function (DataBasic) (m618703+spaces_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

SPACES Function

Replaces numeric values in the elements of a dynamic array with blank spaces.

Syntax

SPACES(dynArray)

Syntax Elements

dynArray A DataBasic expression that evaluates to a dynamic array.

Return Value

A dynamic array with the same structure as dynArray, but with each integer element replaced by that number of blank spaces.

Example

ARY = 2:@VM:"5":@VM:3.9:@AM:"":@VM:@VM:"Status Quo"
NEWARY = SPACES(ARY)

Sets NEWARY to "  VM     VM AM VM VM".

RealityV15.1 (MoTW) Revision 7Comment on this topic