Promotic

Rem - statement of language VBScript

Description:
Used to include explanatory remarks in a script.
Syntax:

Rem comment or
' comment
The comment parameter is the text of any notes you want to include. After the Rem keyword, a space is required before comment.
Note:
Can be used an apostrophe (') instead of the Rem keyword. If the Rem follows other statements on the row, then it must be separated by "colon" character. If an apostrophe is used, then the colon is not required.
For multiple (multiline) commentary creation it is possible to use command Comment block (or Uncomment block) from the local menu in the script editor.
See also:
- Dim
- Set
Example:
VBScriptSelect and copy to clipboard

Dim sStr1, sStr2
sStr1 = "Hello" : Rem   ' Comment after keyword separated by "colon" character
sStr2 = "Goodbye"   ' Comment; no colon is needed
' Comment on a line with no code; no colon is needed
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.