Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Variables & Conversions)
(Core Functions)
Line 4: Line 4:
 
=== Core Functions ===
 
=== Core Functions ===
  
==== Variables & Conversions ====
+
==== Console Functions ====
 +
* [[Core Function Print|Print( $variable )]] -- Prints an expressions string value to the console window.
 +
* [[Core Function Println|Println( $variable )]] -- Prints an expressions string value to the console window and inserts a newline charactor at the end.
 +
 
 +
==== Variable Type Conversions ====
 +
 
 +
* [[Core Function Byte|Byte( $variable )]] -- Returns the 8-bit integer (whole number) representation of an expression.
 +
* [[Core Function Int16|Int16( $variable )]] -- Returns the 16-bit integer (whole number) representation of an expression.
 +
* [[Core Function Int32|Int32( $variable )]] (Alias: Int( $variable )) -- Returns the 32-bit integer (whole number) representation of an expression.
 +
* [[Core Function Int64|Int64( $variable )]] -- Returns the 64-bit integer (whole number) representation of an expression.
 +
 
 +
* [[Core Function Float|Float( $variable )]] -- Returns the 32-bit floating point representation of an expression.
 +
* [[Core Function Double|Double( $variable )]] -- Returns the 64-bit floating point representation of an expression.
 +
* [[Core Function String|String( $variable )]] -- Returns the String representation of an expression.
 +
 
 +
==== Common Variable Functions ====
  
 
* [[Core Function isInt|isInt( $variable )]] -- Checks if a variable is an integer type
 
* [[Core Function isInt|isInt( $variable )]] -- Checks if a variable is an integer type
Line 14: Line 29:
 
* [[Core Function isClass|isClass( $variable )]] -- Check if a variable's object type is a class
 
* [[Core Function isClass|isClass( $variable )]] -- Check if a variable's object type is a class
 
* [[Core Function isStruct|isStruct( $variable )]] -- Check if a variable's object type is a struct
 
* [[Core Function isStruct|isStruct( $variable )]] -- Check if a variable's object type is a struct
 +
 +
==== Misc Functions ====
 +
* [[Core Function Return|Return( $variable )]] -- Returns a result from a Function.
 +
* [[Core Function Require|Require( $variable )]] -- Includes a file in the current script.
  
 
[[Category:Language Reference]]
 
[[Category:Language Reference]]

Revision as of 03:06, 9 November 2011

Contents

Function Reference

User Functions

Core Functions

Console Functions

Variable Type Conversions

Common Variable Functions

Misc Functions

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox