{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#defaultValue]
The default value of the variable.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#name]
The name of the variable.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#variableType]
The type of the variable.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=627F7085-F8EF-4172-861F-2E6543309ACA}{tr:id=name}{td}h6.defaultValue{td}{tr}{tr:id=des}{td}{sub-section:627F7085-F8EF-4172-861F-2E6543309ACA_des|text=|trigger=button}{sub-section}{sub-section:627F7085-F8EF-4172-861F-2E6543309ACA_des|trigger=none|class=sIndent}The default value of the variable.
It is interpreted as a JS expression.
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClientservoy sSummary12%30%58%height: 30px;3Property SummaryProperty for setting and getting the jsdoc text (comment) of the script variable.The default value of the variable.The name of the variable.The name of the scope.The type of the variable.propertyservoy sDetail2100%height:30px2Property Detailscommentname
comment
dessIndent
Property for setting and getting the jsdoc text (comment) of the script variable.
ret
Returns
sIndent the value of the jsdoc text (comment) of the script variableclients
The default value of the variable.
It is interpreted as a JS expression.
For form variables ,setting this property requires the form instances to be destroyed (history.remove("formName")).
If you want to use a default value for a newly created variable create the variable using the 3 parameter version newVariable(name,type,defaultValue).
For INTEGER variables it can be an integer constant, like 10 for example.
For NUMBER variables it can be a real constant, like 22.41. For DATETIME
variables it can be "now", or a JS expression like "new Date()". For TEXT
variables it can be any string surrounded with quotes, like "'some text'