<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > OS (Operating System) > OS_CommandsSetSep |
Description
Retrieve the current set of chars used by OS_GetCommand... functions to identify command line parameters and set a new one
Syntax
s = OS_CommandsSetSep (NewSeparatorChars)
Returns
String.
The previous sequence of chars used to identify command line parameters.
Parameters
Name |
Type |
Optional |
Meaning |
NewSeparatorChars |
String |
No |
The new set of chars to be used by OS_GetCommand... functions. |
Remarks
Restrictions
Any of the following chars are used as default command separators: " =- (double quote, space, equal, minus).
See also
Examples
USES "OS"
'---To set separators to any of the following: space + double quote + '-'
'---use:
OS_CommandsSetSep(" " & $DQ & "-")