Function Reference

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(String Functions)
(Array Pointer Functions)
Line 516: Line 516:
 
* [[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
 
==== Array Pointer Functions ====
 
* [[Core Function Each|Each( <array>, <index> )]] -- Grab and return the next key & value pair from an array at the next pointer position
 
* [[Core Function Reset|Reset( <array> )]] -- Reset the pointer position of an array
 
* [[Core Function Next|Next( <array> )]] -- Increase the pointer position of an array by 1
 
* [[Core Function Prev|Prev( <array> )]] -- Decrease the pointer position of an array by 1
 
* [[Core Function Cur|Cur( <array>, <index> )]] -- Get or set the pointer position of an array
 
  
 
==== Linq (Integrated Language Query) Functions ====
 
==== Linq (Integrated Language Query) Functions ====

Revision as of 13:45, 8 August 2014

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 Memory Stream Management 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
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

Time & Date 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
Common Dialog/Control 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

.NET Functions and Features

Control Flow Functions

  • Return <expressions> -- Immediately ends execution of the current function, and returns its argument as the value of the function call. return will also end the execution of an Eval() statement or script file
  • Throw( <expression> ) -- Throw an exception
  • Die( <expression> ) -- Gives an error and terminates the program
  • Break( <scopes> ) -- Ends execution of the current loop
  • Continue( <scopes> ) -- Continue the execution of a loop at its next iteration
  • Redo( ) -- Continue the execution of a loop at the start of the current iteration

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