Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project









STANDARD LIBRARY:  Lang

The Lang Library contains fifteen functions. You can use these various functions to perform operations on integer and floating-point numbers, create random numbers, create absolute values, stop the current code execution, and determine support parameters.
 
The optional Float Library contains eight functions that perform related tasks on floating-point numbers.
 
The library and function names are case sensitive.
 
The fifteen functions are:
 
abort
Aborts the current code and returns control to the caller.
 
Syntax: Lang.abort(errorDescription)
 
abs
Returns the absolute value.
 
Syntax: Lang.abs(value)
 
characterSet
Returns the character set being supported.
 
Syntax: Lang.characterSet( )
 
exit
Ends the current code and returns control to the caller.
 
Syntax: Lang.exit(value)
 
float
Determines if floating-point numeration is supported.
 
Syntax: Lang.float( )
 
isFloat
Determines if a value can be converted to a floating-point.
 
Syntax: Lang.isFloat(value)
 
isInt
Determines if a value can be converted to an integer.
 
Syntax: Lang.isInt(value)
 
max
Returns the maximum of two numbers.
 
Syntax: Lang.max(value1, value2)
 
maxInt
Returns the maximum recognized integer value.
 
Syntax: Lang.maxInt( )
 
min
Returns the minimum of two numbers.
 
Syntax: Lang.min(value1, value2)
 
minInt
Returns the minimum recognized integer value.
 
Syntax: Lang.minInt( )
 
parseFloat
Converts a string into a floating-point number.
 
Syntax: Lang.parseFloat(value)
 
parseInt
Converts a string into an integer.
 
Syntax: Lang.parseInt(value)
 
random
Returns a random positive integer.
 
Syntax: Lang.random(value)
 
seed
Initializes a pseudo-random number sequence.
 
Syntax: Lang.seed(value)
 

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information