<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Converts a value into a string representation for use in scripts.
syntax
CScript(
val
)
Parameters
Type:
General purpose
The value to convert.
Return Value
character
The converted value.
Explanation
This converts the value to a string representation used in the script, such as c(1,2,3,4). This can be useful when debugging a script.
Example
var a = c(1,2,3,4); a = a + 1; ::OpenMsg(::CScript(a));
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
CBool
CNum
CStr
CBit
CTime
CScript
CScriptTo
CNumStr (NS)
CTimeStr (TS)
CTimeSpanStr
CDurationStr
CNumToHex
CNumToOct
CNumToBin
CNumToExp
CHexToNum
COctToNum
CBinToNum
CNumToComma
CCommaToNum
CLinearToPf
CPfToLinear
CTable
CValidTable