Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
Array
Span
classsWordList
Boolean
Span
classsWordList
Date
Span
classsWordList
Function
Span
classsWordList
JSON
Span
classsWordList
Math
Span
classsWordList
Namespace
Span
classsWordList
Number
Span
classsWordList
Object
Span
classsWordList
QName
Span
classsWordList
RegExp
Span
classsWordList
Special Operators
Span
classsWordList
Statements
Span
classsWordList
String
Span
classsWordList
XML
Span
classsWordList
XMLList
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
Infinity
Numeric value representing infinity.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)NaN
indexstyletruedisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryNumeric value representing infinity.Value representing Not-a-Number. Table Row (tr)

Table Cell (td)
Object
Table Cell (td)undefined
The value undefined.table

id

classservoy sSummaryid

Colgroup Tag
Col
width80px
Col
Table Head (thead) Table Row (tr)style Table Row (tr)
Table Cell (td)
String
Table Cell (td)decodeURI(encodedURI)
servoy sSummary12%30%58%height: 30px;
Table Head (th)
colspan2
Method Summary
decodeURIComponent(encodedURI)
3Methods SummaryDecodes a URI previously encoded with encodeURI or another similar routine. Table Row (tr)
Table Cell (td)
String
Table Cell (td)Decodes a URI component previously created by encodeURIComponent or by a similar routine. Table Row (tr)
Table Cell (td)
String
Table Cell (td)encodeURI(URI)
Encodes a URI by replacing certain characters with escape sequences. Table Row (tr)
Table Cell (td)
String
Table Cell (td)encodeURIComponent(URI)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)eval(expression)
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences. Table Cell (td)isFinite(n)
Evaluates JavaScript code passed as a string. Table Row (tr)
Table Cell (td)
Boolean
Returns true if the given number is a finite number. Table Row (tr) Table Cell (td)void Table Cell (td)isNaN(value)
The NaN property indicates that a value is 'Not a Number'. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)isXMLName(name)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)parseFloat(text)
Returns true if the given name can be used as a valid name for an XML element or attribute.Makes a floating point number from the starting numbers in a given string. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)parseInt(text)
Makes a integer from the starting numbers in a given string in the base specified. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)parseInt(text, radix)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)uneval(obj)
Makes a integer from the starting numbers in a given string in the base specified.Returns the string representation behind a given object. HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)ididInfinity Table Row (tr)nametdid

Infinity

Table Row (tr)des Table Cell (td) DivclasssIndentNumeric value representing infinity. Table Row (tr)idtdret

Returns

div Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
sIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
Infinity
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idNaN
Table Row (tr)
idname
Table Cell (td)

NaN

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
NaNname

NaN

dessIndentValue representing Not-a-Number.
Table Row (tr)idret

Table Cell (td)

Returns

div
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Details
Table Body (tbody)
iddecodeURI-String
Table Row (tr)
idname
Table Cell (td)

decodeURI

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
decodeURI
Span
(encodedURI)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
sIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
NaN
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idundefined
Table Row (tr)
idname
Table Cell (td)

undefined

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The value undefined.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Object
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
undefined
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
HTML Table
idfunction
classservoy sDetail

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
undefinedname

undefined

dessIndentThe value undefined.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 

functionservoy sDetail2100%height:30px2Methods DetailsdecodeURIname

decodeURI(encodedURI)

dessIndentDecodes a URI previously encoded with encodeURI or another similar routine.
Table Row (tr)idprstd

Parameters

Divclass Table Row (tr)id

sIndent{String} encodedURIencodedURI ret

Table Cell (td)

Returns

div Table Cell (td) Div
classsIndent
sIndentclients

classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "http://www.mysite.com/my code.asp?name=[cool]";
var encoded = encodeURI(str);
var decoded = decodeURI(encoded);
application.output(encoded);//http://www.mysite.com/my%20code.asp?name=%5bcool%5d
application.output(decoded);//http://www.mysite.com/my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iddecodeURIComponent-String
Table Row (tr)
idname
Table Cell (td)

decodeURIComponent

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
decodeURIComponent
Span
(encodedURI)
Table Row (tr)
iddes

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
decodeURIComponentname

decodeURIComponent(encodedURI)

dessIndentDecodes a URI component previously created by encodeURIComponent or by a similar routine.
Table Row (tr)idtdprs

Parameters

div

class{String} encodedURI Table Row (tr)

idret
tdsIndentencodedURI ret

Returns

div Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
sIndentclients

classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "my code.asp?name=[cool]";
var encoded = encodeURIComponent(str);
var decoded = decodeURIComponent(encoded);
application.output(encoded); //my%20code.asp%3fname%3d%5bcool%5d
application.output(decoded); //my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idencodeURI-String
Table Row (tr)
idname
Table Cell (td)

encodeURI

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
encodeURI
Span
(URI)

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
encodeURIname

encodeURI(URI)

dessIndentEncodes a URI by replacing certain characters with escape sequences.
Table Row (tr)idtdprs

Parameters

Divclasstd

sIndent{String} URI Table Row (tr)

idret
URI ret

Returns

divsIndentclients

classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "http://www.mysite.com/my code.asp?name=[cool]";
var encoded = encodeURI(str);
var decoded = decodeURI(encoded);
application.output(encoded);//http://www.mysite.com/my%20code.asp?name=%5bcool%5d
application.output(decoded);//http://www.mysite.com/my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idencodeURIComponent-String
Table Row (tr)
idname
Table Cell (td)

encodeURIComponent

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
encodeURIComponent
Span
(URI)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)id

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
encodeURIComponentname

encodeURIComponent(URI)

dessIndentEncodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
prs

Table Cell (td)

Parameters

Divclassid

sIndent{String} URI Table Row (tr)URI ret

Table Cell (td)

Returns

divsIndentclients

classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var str = "my code.asp?name=[cool]";
var encoded = encodeURIComponent(str);
var decoded = decodeURIComponent(encoded);
application.output(encoded); //my%20code.asp%3fname%3d%5bcool%5d
application.output(decoded); //my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
ideval-String
Table Row (tr)
idname
Table Cell (td)

eval

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Object
Span
stylefont-weight: bold;
eval
Span
(expression)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)id

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
evalname

eval(expression)

dessIndentEvaluates JavaScript code passed as a string. Returns the value returned by the evaluated code.
prs

Table Cell (td)

Parameters

Divclasstd

sIndent{String} expression Table Row (tr)

idret
expression ret

Returns

divsIndentclients

classsIndent
Object
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
eval("var x = 2 + 3;");
application.output(x); // prints: 5.0
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idisFinite-Number
Table Row (tr)
idname
Table Cell (td)

isFinite

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
isFinite
Span
(n)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)id

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
isFinitename

isFinite(n)

dessIndentReturns true if the given number is a finite number.
tdprs

Parameters

Divclasstd

sIndent{Number} n Table Row (tr)

idret
n ret

Returns

divsIndentclients

classsIndent
Boolean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
application.output(isFinite(1)); // prints: true
application.output(isFinite(Infinity)); // prints: false
application.output(isFinite(isNaN)); // prints: false
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idisNaN-Object
Table Row (tr)
idname
Table Cell (td)

isNaN

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
isNaN
Span
(value)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)id

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
isNaNname

isNaN(value)

dessIndentThe NaN property indicates that a value is 'Not a Number'.
tdprs

Parameters

Divclass Table Row (tr)id

sIndent{Object} valuevalue ret

Table Cell (td)

Returns

divsIndentclients

classsIndent
void
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
isNaN( value )
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idisXMLName-String
Table Row (tr)
idname
Table Cell (td)

isXMLName

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
isXMLName
Span
(name)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)id

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
isXMLNamename

isXMLName(name)

dessIndentReturns true if the given name can be used as a valid name for an XML element or attribute.
tdprs

Parameters

Divclass Table Row (tr)
idret
td

sIndent{String} namename ret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
Boolean Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idparseFloat-String
Table Row (tr)
idname
Table Cell (td)

parseFloat

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
parseFloat
Span
(text)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
application.output(isXMLName("good_name")); // prints: true
application.output(isXMLName("bad name")); // because of the space, prints: false
Table Row (tr)idsIdentjavascriptlastDetailRow parseFloatname

parseFloat(text)

dessIndentMakes a floating point number from the starting numbers in a given string.
tdprs

Parameters

Divclass Table Row (tr)
idret
td

sIndent{String} texttext ret

Returns

divsIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
parseFloat('string')
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idparseInt-String
Table Row (tr)
idname
Table Cell (td)

parseInt

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
parseInt
Span
(text)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)id

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
parseIntname

parseInt(text)

dessIndentMakes a integer from the starting numbers in a given string in the base specified.
tdprsclass

Parameters

Div Table Row (tr)
idret
tdsIndent{String} texttext ret

Returns

div SpansIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
parseInt('0774')
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idparseInt-String_Number
Table Row (tr)
idname
Table Cell (td)

parseInt

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
parseInt

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
parseIntname

parseInt(text, radix)

Table Row (tr)idclass

des Table Cell (td) DivsIndent Table Row (tr)idMakes a integer from the starting numbers in a given string in the base specified.tdprsclass

Parameters

Div Table Row (tr)
idret
tdsIndent{String} text
{Number} radixtext radix ret

Returns

divsIndentclients

classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
parseInt('0774' , 8)
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iduneval-Object
Table Row (tr)
idname
Table Cell (td)

uneval

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
uneval
Span
(obj)
Table Row (tr)
iddes
Table Cell (td) Div
classsIndent

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
unevalname

uneval(obj)

dessIndentReturns the string representation behind a given object.
Table Row (tr)idtdprs

Parameters

div

classtdsIndent{Object} obj Table Row (tr)

idret
obj ret

Returns

div Table Row (tr)
classlastDetailRow
Table Cell (td) sIndentclients

classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
application.output(uneval(isNaN)); // prints something like: function isNaN() { [native code for isNaN, arity=1] }

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow