Section 1 Outline of Macro Function
NS series Macro Referenc
In addition to macro of NS Series, the following functions are provided for macro of NS-Runtime.
Action Function
String Comparison (Case sensitive) STRCMP/STRCMPW
String Comparison (Not case sensitive) STRICMP/STRICMPW
String Concatenation STRCAT/STRCATW
Gets String Length STRLEN/STRLENW
Extracts the specified number of
characters from the leftmost characters of
a string.
STRLEFT/STRLEFTW
Extracts the specified number of
characters from a specified character
position of a string.
STRMID/STRMIDW
Extracts the specified number of
characters from the rightmost characters
of a string.
STRRIGHT/STRRIGHTW
Deletes the leftmost spaces of a string STRLTRIM/STRLTRIMW
Deletes the spaces at both sides of a
string
STRTRIM/STRTRIMW
Deletes the rightmost spaces of a string STRRTRIM/STRRTRIMW
Manipulating
character strings
Converts a string to lower case STRLWR/STRLWRW
Converts a string to upper case STRUPR/STRUPRW
Finds a window title WINFIND
Maximizes a specified window WINMAX
Minimizes a specified window WINMIN
Restores a size of a specified window WINNORMAL
Brings a specified window to the front WINTOP
Manipulating
Window
Exits a specified window WINTERM
Module startup
Starts up an application EXEC
Reference
These macros cannot be used with NS series, NSJ series and NSH series.
1-17