Skip to main content

Create-Space

Command Description

Create a specified number of space characters

Command Prototype

sRet = Space(iCount)

Parameter Description

ParameterRequiredTypeDefaultDescription
iCountTruenumber1The number of space characters to create

return

sRet,The variable used to save the output of the command.

Demo

TracePrint("----------------------Create spaces----------------------- -") 
//-------------------------------------------------------------------------------
//[Remarks] Create a certain number of space characters.
//Input parameter 1:
// iCount--Number of space characters created.
//out parameters:
// sRet--The variable to which the output of the function call is saved.
//
//Command prototype: sRet=Space(iCount)
//-------------------------------------------------------------------------------
sRet = Space (3)
TracePrint (sRet)