![background image](http://html1.mh-extra.com/html/omron/ns-runtime-software/ns-runtime-software_user-manual_744233080.webp)
4-5 Macros
4-24
STRUPR(W)
Converts a string to upper case
Applicable versions
System Version 6.6 or higher
Format
STRUPR(D, S) --- ASCII code
STRUPRW(D, S) --- Unicode
Function
Converts a string S from lower case to upper case. Then set it to D.
Return Value
None
Example
STRCPY($W0, "abc");
STRUPR($W10, $W0); ‘Set ABC to $W10 to $W11.
WINFIND
Finds a window title
Applicable versions
System Version 6.6 or higher
Format WINFIND(S1,S2)
Function
Searches whether a window specified with S1 has started or not.
Set the following search conditions for each bit with S2.
The 0 bit to 3rd bit:
0:Window title that completely matches with S1.
1:Window title that matches with the number of characters of S1.
2:Window title that matches with the number of characters of S1 (Except
for a folder).
The 4th bit:
0: The search ends when a target is found.
1: Searches for all the matched windows.
Use Unicode if you use a symbol to specify a string with S1.
Return Value
The number of find results (0: None, 1 or more: Found, -1: Parameter error)
Example
WINFIND("TEST",0);
'Search whether there is a window titled TEST.
Содержание 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: ......