What Are The Syntax Differences Between VBScript and CX-Supervisor Script?

VBScript has some minor syntax differences to CX-Supervisor script. The most important are:
  • Boolean equality test == is only = in VBScript.
  • Boolean inequality test != is <> in VBScript.
  • Endif becomes End If in VBScript.
  • Array indexing using ( ) uses square brackets in VBScript [ ]

Note that CX-Supervisor interprets { and } characters as string delimiters, even in VBScript so the following code does not work:

  MsgBox("Press {Enter}")  '

does not work
Instead use the following to replace these characters:

  MsgBox("Press " + chr(123) + "Enter" + chr(125))



 


Link:
http://www.myomron.com/index.php?action=kb&print=143



Comments  

Translate: