Microsoft Small Basic


Program

The Program class provides helpers to control the program execution.

Properties

ArgumentCount (This property is read-only.)

Program.ArgumentCount

Gets the number of command-line arguments passed to this program.

Directory (This property is read-only.)

Program.Directory

Gets the executing program's directory.

Operations

Delay

Program.Delay(milliSeconds)

Delays program execution by the specified amount of MilliSeconds.

milliSeconds

The amount of delay.

Returns

Nothing

End

Program.End()

Ends the program.

Returns

Nothing

GetArgument

Program.GetArgument(index)

Returns the specified argument passed to this program.

index

Index of the argument.

Returns

The command-line argument at the specified index.