Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
Infinity
Numeric value representing infinity.

...

Table Cell (td)
Number

...

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.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Divcache
styleindexdisplay:none

...

iddescription

...

Table Row (tr)
styleheight: 30px;
Table Head (th)
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

...

padding0px
width80px

...

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
true
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 Cell (td)
Object

...

The value undefined.

...

servoy sSummary

...

padding0px
width80px

...

12%30%58%height: 30px;

...

Table Head (th)
colspan2
Method Summary

...

Table Cell (td)
String

...

3Methods SummaryDecodes a URI previously encoded with encodeURI or another similar routine.

...

Table Cell (td)
String

...

Table Cell (td)
String

...

Decodes a URI component previously created by encodeURIComponent or by a similar routine.

...

Encodes a URI by replacing certain characters with escape sequences.

...

Table Cell (td)
String

...

Table Cell (td)
Object

...

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

...

Evaluates JavaScript code passed as a string.

...

Table Cell (td)
Boolean

...

Returns true if the given number is a finite number.

...

void

...

The NaN property indicates that a value is 'Not a Number'.

...

Table Cell (td)
Boolean

...

Table Cell (td)
Number

...

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 Cell (td)
Number

...

Table Cell (td)
Number

...

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

...

...

Table Cell (td)
String

...

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

...

id
HTML Table
Returns the string representation behind a given object.

...

classlastDetailRow

...

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)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Encodes a URI by replacing certain characters with escape sequences.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} URI
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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]

...

classlastDetailRow

...

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
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} URI
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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]

...

classlastDetailRow

...

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
Evaluates JavaScript code passed as a string. Returns the value returned by the evaluated code.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} expression
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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

...

classlastDetailRow

...

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
Returns true if the given number is a finite number.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{Number} n
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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

...

classlastDetailRow

...

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
The NaN property indicates that a value is 'Not a Number'.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{Object} value
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
isNaN( value )

...

classlastDetailRow

...

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
Returns true if the given name can be used as a valid name for an XML element or attribute.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} name
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Boolean
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
application.output(isXMLName("good_name")); // prints: true
application.output(isXMLName("bad name")); // because of the space, prints: false

...

classlastDetailRow

...

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
Makes a floating point number from the starting numbers in a given string.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} text
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
parseFloat('string')

...

classlastDetailRow

...

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
Makes a integer from the starting numbers in a given string in the base specified.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} text
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
parseInt('0774')

...

classlastDetailRow

...

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
Span
(text, radix)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Makes a integer from the starting numbers in a given string in the base specified.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} text
{Number} radix
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
parseInt('0774' , 8)

...

classlastDetailRow

...

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
Returns the string representation behind a given object.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{Object} obj
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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] }

...

classlastDetailRow

...

servoy sDetail2Property DetailsInfinitynametd

Infinity

id

des

sIndent
Numeric value representing infinity.
idtd
ret

Returns

div
Value representing sIndentclients

property

class
Colgroup Tag
Column
padding0px
width100%
Table Row (tr)
style2100%height:30px;
Table Head (th)
colspan1
Table Body (tbody)
idid
Table Row (tr)
Table Row (tr)
Table Cell (td)
Div
class
Table Row (tr)
Table Cell (td)
Div
classsIndent
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
Table Row (tr)
iddes

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
NaNname

NaN

dessIndent
Value representing Not-a-Number.
Table Row (tr)idtd
ret

Returns

divsIndentclients

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)

...

idfunction
classservoy sDetail

...

padding0px
width100%
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details

...

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
Decodes a URI previously encoded with encodeURI or another similar routine.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} encodedURI
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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]

...

classlastDetailRow

...

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
Table Cell (td)
Div
classsIndent
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{String} encodedURI
Table Row (tr)
idret
Table Cell (td)
Returns
Div
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]

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
undefinedname

undefined

dessIndent
The value undefined.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsdecodeURIname

decodeURI(encodedURI)

dessIndent
Decodes a URI previously encoded with encodeURI or another similar routine.
prs

Parameters

sIndentencodedURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowdecodeURIComponentname

decodeURIComponent(encodedURI)

dessIndent
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
prs

Parameters

sIndentencodedURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encodeURIname

encodeURI(URI)

dessIndent
Encodes a URI by replacing certain characters with escape sequences.
prs

Parameters

sIndentURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encodeURIComponentname

encodeURIComponent(URI)

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

Parameters

sIndentURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
evalname

eval(expression)

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

Parameters

sIndentexpression ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isFinitename

isFinite(n)

dessIndent
Returns true if the given number is a finite number.
prs

Parameters

sIndentn ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isNaNname

isNaN(value)

dessIndent
The NaN property indicates that a value is 'Not a Number'.
prs

Parameters

sIndentvalue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isXMLNamename

isXMLName(name)

dessIndent
Returns true if the given name can be used as a valid name for an XML element or attribute.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
parseFloatname

parseFloat(text)

dessIndent
Makes a floating point number from the starting numbers in a given string.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
parseIntname

parseInt(text)

dessIndent
Makes a integer from the starting numbers in a given string in the base specified.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
parseIntname

parseInt(text, radix)

dessIndent
Makes a integer from the starting numbers in a given string in the base specified.
prs

Parameters

sIndenttext ;radix ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
unevalname

uneval(obj)

dessIndent
Returns the string representation behind a given object.
prs

Parameters

sIndentobj ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow