Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 5659 by UberFoX (talk))
(Undo revision 5658 by UberFoX (talk))
Line 676: Line 676:
 
* [[Core Function FileSeek|FileSeek( <file>, <offset>, <flag> )]] -- Change the POSITION of the File Stream pointer
 
* [[Core Function FileSeek|FileSeek( <file>, <offset>, <flag> )]] -- Change the POSITION of the File Stream pointer
 
* [[Core Function FilePos|FilePos( <file> )]] -- Get the current POSITION of the File Stream pointer
 
* [[Core Function FilePos|FilePos( <file> )]] -- Get the current POSITION of the File Stream pointer
* [[Core Function FileRead|FileRead( <file>, <expression> )]] -- Read a number of bytes from a text file starting from current File Steam pointer location and return them as a string
+
* [[Core Function FileRead|FileRead( <file>, <expression> )]] -- Read a number of characters from a text file starting from current File Steam pointer location
 
* [[Core Function FileReadBinary|FileReadBinary( <file>, <expression> )]] -- Read a number of bytes from a file starting from current File Steam pointer location
 
* [[Core Function FileReadBinary|FileReadBinary( <file>, <expression> )]] -- Read a number of bytes from a file starting from current File Steam pointer location
 
* [[Core Function FileReadLine|FileReadLine( <file>, <expression> )]] -- Read a line of text from a text file (Or specify a name of a file)
 
* [[Core Function FileReadLine|FileReadLine( <file>, <expression> )]] -- Read a line of text from a text file (Or specify a name of a file)

Revision as of 07:27, 18 June 2015

Contents

Function Reference

How to create a Function

To create your own funtions see the Function page.

Core Functions

If a link is red (unclickable) the function either doesnt exist yet and is pending creation or it has been created but does not yet have a page/example.

Language Features

Parser Engine

Console Functions

Multi-Threading Functions

Variable Type Conversions

Common Variable Functions

Misc
Type Checking
Get Type Directly

Binary Data Management Functions

Binary packer/unpacker
Bit Vector
Bits
BinHex 5.0
ByteBuffer

The ByteBuffer is the replacement for the old Stream functions it is more robust, has more features and is resistant to crashes/errors from bad information etc it works similar to the ByteBuffer in Java

NBT (Named Binary Tag)

Functions on par with Minecrafts NBT system but greatly expanded to include many additional features and improvements specific for Sputnik.

NBTTagCompound
NBTTagList/NBTTagListEx
Misc Binary Functions

Math Functions

String Functions

CharPtr Functions

Note the Fixed statement is tied directly with CharPtr

Array Functions

Linq (Integrated Language Query) Functions

Enum Functions

Process Functions

Environment Management

File Functions

File Create/Read/Write Functions
Misc
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox