Difference between revisions of "LS2:Type"

From ismods.com: dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
Jump to: navigation, search
(Created page with "The LavishScript 2 standard environment currently defines the following Types... * LS2:Array (Type) * LS2:Binary (Type) * LS2:Decimal (Type) * [[LS2:Except...")
 
Line 1: Line 1:
 +
[[LS2:Type|Types]] in LavishScript 2 can have [[LS2:Method|methods]] and [[LS2:Property|properties]], both static and non-static.
 +
 +
== Built-in Types ==
 
The [[LavishScript 2]] standard environment currently defines the following Types...  
 
The [[LavishScript 2]] standard environment currently defines the following Types...  
* [[LS2:Array (Type)|Array]]
+
* [[LS2:Array (Type)|Array]] - a 0-based index of values
* [[LS2:Binary (Type)|Binary]]
+
* [[LS2:Binary (Type)|Binary]] - an arbitrary binary value
* [[LS2:Decimal (Type)|Decimal]]
+
* [[LS2:Decimal (Type)|Decimal]] - a 64-bit floating point value
* [[LS2:Exception (Type)|Exception]]
+
* [[LS2:Exception (Type)|Exception]] - an exception (error indicator)
* [[LS2:Function (Type)|Function]]
+
* [[LS2:Function (Type)|Function]] - a function that is part of a [[LS2:Script|script]]
* [[LS2:Integer (Type)|Integer]]
+
* [[LS2:Integer (Type)|Integer]] - a 64-bit integer value
* [[LS2:LS2.Module (Type)|LS2.Module]]
+
* [[LS2:LS2.Module (Type)|LS2.Module]] - a [[LS2:Module|module]]
* [[LS2:Math (Type)|Math]]
+
* [[LS2:Math (Type)|Math]] - math functions
* [[LS2:Method (Type)|Method]]
+
* [[LS2:Method (Type)|Method]] - a method
* [[LS2:Null (Type)|Null]]
+
* [[LS2:Null (Type)|Null]] - Null. It means nothing; the absence of something.
* [[LS2:Property (Type)|Property]]
+
* [[LS2:Property (Type)|Property]] - a property
* [[LS2:Reference (Type)|Reference]]
+
* [[LS2:Reference (Type)|Reference]] - an arbitrary reference to another value, i.e. a box
* [[LS2:StaticMethod (Type)|StaticMethod]]
+
* [[LS2:StaticMethod (Type)|StaticMethod]] -
* [[LS2:StaticProperty (Type)|StaticProperty]]
+
* [[LS2:StaticProperty (Type)|StaticProperty]] -
* [[LS2:String (Type)|String]]
+
* [[LS2:String (Type)|String]] - a string of text
* [[LS2:Table (Type)|Table]]
+
* [[LS2:Table (Type)|Table]] - a string-keyed index of values
* [[LS2:Type (Type)|Type]]
+
* [[LS2:Type (Type)|Type]] - a [[LS2:Type|Type]]
  
 
== See Also ==
 
== See Also ==
 
* [[LS2IL]]
 
* [[LS2IL]]
 
* [[LS2:Instruction Reference|Instruction Reference]]
 
* [[LS2:Instruction Reference|Instruction Reference]]

Revision as of 18:02, 9 September 2012

Types in LavishScript 2 can have methods and properties, both static and non-static.

Built-in Types

The LavishScript 2 standard environment currently defines the following Types...

See Also