Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 66

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
returnstate
helpfile
helpindex
Typical Example
RunHelp("c:\myhelp.hlp",0)
The helpfile c:\myhelp.hlp is run, and topic 0 shown.
SetLanguage
Description
Change the language of text on display. This will reload the system language file from the program
folder (i.e. with a .LNG extension), and the user defined text from the application folder (i.e. with a
.USL extension). This function is the programmatic equivalent of the user right clicking and changing
the "Language Settings..." option.
Syntax
SetLanguage("language name")
Remarks
Argument
language name
Typical Example
SetLanguage("Español")
In this example, the Spanish language files will be loaded.
SetLanguage("Default")
In this example, the language will revert to the default specified by the application designer.
Revision 2.0
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
string
Pathname of helpfile to be run.
integer
Index into a help topic as defined by the help file being run.
Type
string
Name of language to set to. Must be identical to filename of
related file with ".lng" file extension. Standard options are
English, Czech, Danish, Deutsch, Español, Finnish, French,
Italiano, Nederlands (België), Norwegian, Português, Slovenija
and Swedish. In addition "Default" will load the designers
default language.
CHAPTER 6 – Functions and Methods
Description
Description
Page 53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents