Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(String Functions)
(Function Reference)
Line 48: Line 48:
 
==== Common Variable Functions ====
 
==== Common Variable Functions ====
  
 +
===== Arrays =====
 +
* [[Core Function Reset|Reset( $variable )]] -- Reset the current array pointer to the first element
 +
* [[Core Function Next|Next( $variable )]] -- Set the array pointer to the next element
 +
* [[Core Function Prev|Prev( $variable )]] -- Set the array pointer to the previous element
 +
 +
===== Type Checking =====
 
* [[Core Function isVarInt|isVarInt( $variable )]] -- Checks if a variable is an integer type
 
* [[Core Function isVarInt|isVarInt( $variable )]] -- Checks if a variable is an integer type
 
* [[Core Function isVarBinary|isVarBinary( $variable )]] -- Checks if a variable is a binary ype
 
* [[Core Function isVarBinary|isVarBinary( $variable )]] -- Checks if a variable is a binary ype
Line 174: Line 180:
 
* [[Core Function Splice|Splice( <array>, <expressions> )]] -- Create a new array from an old one splicing it in specific ways
 
* [[Core Function Splice|Splice( <array>, <expressions> )]] -- Create a new array from an old one splicing it in specific ways
 
* [[Core Function UBound|UBound( <array/binary-array> )]] -- Returns the size of array (How many elements it currently has stored)
 
* [[Core Function UBound|UBound( <array/binary-array> )]] -- Returns the size of array (How many elements it currently has stored)
 +
* [[Core Function Push|Push( <array>, <expressions> )]] -- Add items to the end of an array
 +
* [[Core Function Unshift|Unshift( <array>, <expressions> )]] -- Add items to the beginning of an array
 +
* [[Core Function Pop|Pop( <array> )]] -- Delete the first item in an array
 +
* [[Core Function Shift|Shift( <array> )]] -- Delete the last item in an array
  
 
==== File Functions ====
 
==== File Functions ====

Revision as of 14:35, 19 November 2011

Contents

Function Reference

Core Functions

Language Features

Console Functions

Multithreading Functions

Variable Type Conversions

Common Variable Functions

Arrays
Type Checking

Binary Data Management Functions

Math Functions

String Functions

Array Functions

File Functions

File Create/Read/Write Functions

Misc Functions

User Defined Functions

These functions are created using Sputnik and are not part of the Sputnik core language.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox