![background image](http://html1.mh-extra.com/html/omron/ns-runtime-software/ns-runtime-software_user-manual_744233078.webp)
4-5 Macros
4-22
STRLWR(W)
Converts a string to lower case
Applicable versions
System Version 6.6 or higher
Format
STRLWR(D, S) --- ASCII code
STRLWRW(D, S) --- Unicode
Function
Converts upper cases of the string S to lower cases and enter them to D.
Return Value
None
Example
STRCPY($W0, "ABC");
STRLWR($W10, $W0); 'Set abc to $W10 to $W11
STRMID(W)
Extracts the specified number of characters from a specified character
position of a string
Applicable versions
System Version 6.6 or higher
Format
STRMID(D,S,n1,n2)
STRMIDW(D,S,n1,n2)
--- ASCII code
--- Unicode
Function
Extracts n2 characters from n1 of a string specified with S. Then store them
in D. (n1: Specify it counting the head of a string as 1.)
Return Value
None
Example STRMID($W0,"ABCDEFG",2,3);
'Extracts 3 characters (BCD) from the 2nd of the string. Then store BCD in
$W0 to $W1.
Содержание NS-RUNTIME - SOFTWARE
Страница 1: ...NS Runtime Software USER S MANUAL Cat No V093 E1 04...
Страница 2: ......
Страница 28: ...1 4 Comparison between the NS Series and the NS Runtime 1 14...
Страница 38: ...2 6 User Interface 2 10...
Страница 56: ...3 5 Converting Projects 3 18...
Страница 84: ...4 5 Macros 4 28...
Страница 136: ...5 11 Window Size 5 52...
Страница 154: ...7 3 Error Messages and Countermeasures 7 6...
Страница 156: ......
Страница 157: ......