MScript Symbol Replacement Tokens

In some situations, certain ascii characters may cause conflict or confusion to the system, in which case, you may use these tokens as replacements for the reserved and special characters in mscript.

  • [amp] - output a “&”.
  • [apos] - single quote “'”
  • [asterisk] - asterisk / start symbol “*”
  • [blank], [space] - output a blank/space char “ ”.
  • [bSlash] - output a backslash char “\”.
  • [colon] - output a colon “:”.
  • [comma] - output a comma “,”.
  • [dash] [minus] [hyphen] - dash / minus / hyphen symbol “-”
  • [dollar] - dollar sign “$”
  • [eq], [equal], [equals] - equal sign“=”.
  • [fSlash] - output a forward slash “/”.
  • [gt] - greater than symbol “>”.
  • [lcurly] - left curly bracket “{”.
  • [lsquare] - left square bracket “[”
  • [lt] - less than symbol “<”
  • [minus] - minus sign or hyphen “-”
  • [newline] - output line feed char “\n”.
  • [plus] - plus symbol “+”
  • [quest] - question mark “?”
  • [quot] - double quote.
  • [rcurly] - right curly bracket “}”
  • [rsquare] - right square bracket “]”.
  • [semiColon] - output a semicolon “;”.
  • [tab] - output a tab char.

Please note that above syntax is also used as a short hand to use system var and user var. Therefore, none of the above replacement tokens can be used as a user variable names.

For example [curStateID] is equivalent to $getSysVar('curStateID') or [mDS:f1] is equivalent to $getData('myDS','f1').

Print/export
QR Code
QR Code mscript_tokens (generated for current page)