Small Basic Reference Documentation: Program Object
Small Basic: Reference Documentation > Program
http://smallbasic.com/img/object_32.png
The Program class provides helpers to control the program execution.
http://smallbasic.com/img/property_16.png ArgumentCount (This property is read-only.)
Program.ArgumentCount
Gets the number of command-line arguments passed to this program.
http://smallbasic.com/img/property_16.png Directory (This property is read-only.)
Program.Directory
Gets the executing program's directory.
Program.Delay(milliSeconds)
Delays program execution by the specified amount of MilliSeconds.
The amount of delay.
Nothing
Program.End()
Ends the program.
Nothing
http://smallbasic.com/img/method_16.png GetArgument
Program.GetArgument(index)
Returns the specified argument passed to this program.
Index of the argument.
The command-line argument at the specified index.
- Small Basic: Reference Documentation
- The Developer’s Reference Guide to Small Basic
- Wiki: Small Basic Portal