Topic: DMD0163 STRCLEAR - Clear Strings |
|
The Clear Strings (STRCLEAR) instruction will remove the contents from the specified string or range of strings.
|
|
Parameters:Note: Use the F9 key or click the 'three dot box' at the right edge of the parameter field to open the Default Element Selection Tool (the Element Picker or the Element Browser) or use the Down-Arrow key (Auto-Complete) on any parameter field to see a complete list of the memory locations that are valid for that parameter of the instruction.
Start String - the first String in the range of strings to clear. This can be any writable String element.
Number of Strings to Clear - specifies how many successive strings to clear. This can be any positive constant from 1 to 65535, or any readable numeric location. If the specified range that exceeds the maximum number of Strings in the block of strings, the following Warning displayed: Count is out of range in STRCLEAR: Exceeds max block length.
|
|
Status Display:
The Status display will only show as many of the characters of the Start String as will fit within the borders of the instruction, typically this is about 50 characters.
|
|
See Also:STR2REAL - Convert String to Real
STR2INT - Convert String to Integer
STRCASE - Convert String to UPPER / lower Case
STRCLEAR - Clear Strings
STRCOPYR - Copy a Range of Strings
|
|
Related Topics:String Scripting Language Reference
|
|
Rung Example:
|
|