Omron NS-RUNTIME - SOFTWARE User Manual page 80

Ns-runtime software
Hide thumbs Also See for NS-RUNTIME - SOFTWARE:
Table of Contents

Advertisement

4-5 Macros
STRUPR(W)
Applicable versions
Format
Function
Return Value
Example
WINFIND
Applicable versions
Format
Function
Return Value
Example
4-24
Converts a string to upper case
System Version 6.6 or higher
STRUPR(D, S)
--- ASCII code
STRUPRW(D, S) --- Unicode
Converts a string S from lower case to upper case. Then set it to D.
None
STRCPY($W0, "abc");
STRUPR($W10, $W0);
Finds a window title
System Version 6.6 or higher
WINFIND(S1,S2)
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.
The number of find results (0: None, 1 or more: Found, -1: Parameter error)
WINFIND("TEST",0);
'Set ABC to $W10 to $W11.
'Search whether there is a window titled TEST.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ns-nsrcl series

Table of Contents