Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Array Functions)
(Array Functions)
Line 382: Line 382:
 
* [[Core Function LastIndexOfValueAny|LastIndexOfValueAny( <array>, <needle>, <strict>, <ignoreCase>, <skipStringKeys> )]] -- Checks if a value (from an array of values) exists in an array and returns the index of the last occurrence of the value (from the value array)
 
* [[Core Function LastIndexOfValueAny|LastIndexOfValueAny( <array>, <needle>, <strict>, <ignoreCase>, <skipStringKeys> )]] -- Checks if a value (from an array of values) exists in an array and returns the index of the last occurrence of the value (from the value array)
 
* [[Core Function LastIndexNotOfValue|LastIndexNotOfValue( <array>, <needle>, <strict>, <ignoreCase>, <skipStringKeys> )]] -- Checks for the non-occurrence of a value in an array and returns the last index that does not contain the value
 
* [[Core Function LastIndexNotOfValue|LastIndexNotOfValue( <array>, <needle>, <strict>, <ignoreCase>, <skipStringKeys> )]] -- Checks for the non-occurrence of a value in an array and returns the last index that does not contain the value
 +
 +
==== Linq (Integrated Language Query) Functions ====
 +
* [[Core Function From|From( <array> )]] -- Create a new Linq object and add this array to it
 +
* [[Core Function AndFrom|AndFrom( <linq>, <array> )]] -- Add another array to a Linq object
 +
* [[Core Function NotFrom|NotFrom( <linq>, <array> )]] -- Remove array from a Linq object
 +
* [[Core Function Where|Where( <linq>, <query> )]] -- Execute a query on the Linq object to sort through it's arrays addingones you desire
 +
* [[Core Function WhereNot|WhereNot( <linq>, <query> )]] -- Execute a query on the Linq object to sort through it's arrays removing ones you desire
 +
* [[Core Function AndWhere|AndWhere( <linq>, <query> )]] -- Execute a query on the Linq object to sort through it's arrays adding ones you desire (piles ontop of the Where()/WhereNot() instead of creating a new Where() from scratch)
 +
* [[Core Function AndWhereNot|AndWhereNot( <linq>, <query> )]] -- Execute a query on the Linq object to sort through it's arrays removing ones you desire (piles ontop of the Where()/WhereNot() instead of creating a new Where() from scratch)
 +
* [[Core Function Size|Size( <linq> )]] -- Get current element count in the Linq object (Results from Where() etc)
 +
* [[Core Function OrderBy|OrderBy( <linq>, <query> )]] -- Order the elements in the Linq object (Results from Where() etc) in a customized way
 +
* [[Core Function OrderByDescending|OrderByDescending( <linq>, <query> )]] -- Order the elements in the Linq object (Results from Where() etc) in a customized descending way
 +
* [[Core Function OrderByAscending|OrderByAscending( <linq>, <query> )]] -- Order the elements in the Linq object (Results from Where() etc) in a customized ascending way
 +
* [[Core Function First|First( <linq>, <query> )]] -- Get the first element from the Linq object (Results from Where() etc)
 +
* [[Core Function FirstOrDefault|FirstOrDefault( <linq>, <query>, <default> )]] -- Get the first element from the Linq object (Results from Where() etc) or return a default
 +
* [[Core Function Last|Last( <linq>, <query> )]] -- Get the last element from the Linq object (Results from Where() etc)
 +
* [[Core Function LastOrDefault|LastOrDefault( <linq>, <query>, <default> )]] -- Get the last element from the Linq object (Results from Where() etc) or return a default
 +
* [[Core Function Any|Any( <linq>, <query> )]] -- Check if any item in the Linq object matches the given query
 +
* [[Core Function All|All( <linq>, <query> )]] -- Check if all the items in the Linq object matches the given query
 +
* [[Core Function Invert|Invert( <linq> )]] -- Reverse all elements from the Linq object (Results from Where() etc)
 +
* [[Core Function Select|Select( <linq> )]] -- Return an array containing all the elements from the Linq object (Results from Where() etc)
  
 
==== Enum Functions ====
 
==== Enum Functions ====

Revision as of 11:53, 7 September 2013

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

Console Functions

Multi-Threading Functions

Variable Type Conversions

Common Variable Functions

Misc
Type Checking
Get Type Directly

Binary Data Management Functions

Binary Memory Stream Management Functions

Math Functions

String Functions

Array Functions

Linq (Integrated Language Query) Functions

Enum Functions

Process Functions

Environment Management

File Functions

File Create/Read/Write Functions
Misc
Dialogs

Directory Functions

Dialogs

Path Functions

Network Functions

HTTP Functions
MySQL Functions
Sputnik Client/Server Functions (This is just for connecting Sputnik Clients to Sputnik Servers nothing else)
Raw Sockets (TCP/UDP etc)
Misc Network Functions

Memory Functions

Clipboard Functions

Registry Functions

GUI Functions

Dialog Creation Functions
Control Creation Functions
NOT AVAILABLE YET
Window/Control Properties Get/Set Functions

Note - Any options not here are most likely found using GUIGetProp and GUISetProp the bulk of all props can be found/used in them 2 funtions however anything special and not generic will go in the functions below.

Common Dialog/Control Properties Get/Set Functions
GUI Link (Event) Functions
Other GUI Functions

Bitmap Functions

Keyboard Control Functions

Mouse Control Functions

Window Management Functions

(For info on using <title>, <text> See Window Titles and Text (Advanced) )

Controls

(For info on using <title>, <text> See Window Titles and Text (Advanced) )

NOT AVAILABLE YET

Graphics/Pixel 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