![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212108.webp)
OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 95
Remarks
Argument Type
Description
textpoint
text
The text point containing the string that is to be manipulated.
noofchars
integer
The number of characters to extract from the start of the string.
lefttext
text
Text point containing the specified range of characters.
Typical Example
textpoint = “abcdefgh”
lefttext = Left(textpoint,3)
The text point ‘lefttext’ contains the string ‘abc’.
Message
Syntax
Message(“message”)
Remarks
Argument Type
Description
message
string
Contains the text string that is displayed in the message box.
Typical Example
Message(“this is a message”)
The message ‘this is a message’ is displayed in a Message Box.
Mid
Syntax
midtext = Mid(textpoint,offset,noofchars)
Remarks
Argument Type
Description
textpoint
text
The text point containing the string that is to be manipulated.
offset
integer
The zero based index of the first character in the string that is to
be included in the extract.
noofchars
integer
The number of characters to extract from the string.
midtext
text
Text point containing the specified range of characters.
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...