OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 53
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
helpfile
string
Pathname of helpfile to be run.
helpindex
integer
Index into a help topic as defined by the help file being run.
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 Type
Description
language name
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.
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.
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...