Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 seek
 SeekBase
 seekEnd
 seekStart
 select
 send, Socket
 set32
 set64
 setGarbageCollectionInterval
 setRecursionLimit
 shiftLeft32
 shiftLeft64
 shiftRight32
 shiftRight64
 shiftRightSigned32
 shiftRightSigned64
 sign
 simplehttp
 sin
 sinh
 size
 sizeof, Struct
 sleep
 Socket
 SocketException
 spawn
 Spawn, OsException
 split
 splitLines
 sprintf
 SqlException
 sqlite
 sqrt
 square
 StackOverflowException
 start, Stopwatch
 stderr
 stdin
 stdout
 stop, Stopwatch
 Stopwatch
 str
 string
 String
 StringIndexException
 struct
 Struct
 sub
 symlink
 sys
 system
T
 tan
 tanh
 tcpSocket
 tell
 TextFile
 textio
 TextioException
 tgamma
 tick
 time
 toCodePoint
 toString, DateTime
 trim
 trimCharacters
 trunc
 truncate
 Type
 Types
DECLARE NATIVE FUNCTION seek(f: File,
offset: Number,
whence: SeekBase DEFAULT SeekBase.absolute)
Seek to a specific position within a file.
Position to base seek position on.
DECLARE NATIVE FUNCTION seekEnd(f: TextFile)
Seek to the end of a file.
DECLARE NATIVE FUNCTION seekStart(f: TextFile)
Seek to the start of a file.
FUNCTION select(INOUT read,
 write,
error: Array<Socket>,
timeout_seconds: Number): Boolean
Select sockets with pending activity subject to an optional timeout.
FUNCTION Socket.send(self: Socket,
data: Bytes)
Send (write) bytes to a socket.
DECLARE NATIVE FUNCTION set32( x,
n: Number,
v: Boolean): Number
Set a specific bit in a 32-bit word.
DECLARE NATIVE FUNCTION set64( x,
n: Number,
v: Boolean): Number
Set a specific bit in a 64-bit word.
DECLARE NATIVE FUNCTION setGarbageCollectionInterval(count: Number)
Set the interval that determines when garbage collection will be run.
DECLARE NATIVE FUNCTION setRecursionLimit(depth: Number)
Set the maximum permitted call stack depth.
DECLARE NATIVE FUNCTION shiftLeft32( x,
n: Number): Number
Shift a 32-bit word left by a given number of bits.
DECLARE NATIVE FUNCTION shiftLeft64( x,
n: Number): Number
Shift a 64-bit word left by a given number of bits.
DECLARE NATIVE FUNCTION shiftRight32( x,
n: Number): Number
Shift a 32-bit word right by a given number of bits.
DECLARE NATIVE FUNCTION shiftRight64( x,
n: Number): Number
Shift a 64-bit word right by a given number of bits.
DECLARE NATIVE FUNCTION shiftRightSigned32( x,
n: Number): Number
Shift a 32-bit word right by a given number of bits, preserving the sign bit.
DECLARE NATIVE FUNCTION shiftRightSigned64( x,
n: Number): Number
Shift a 64-bit word right by a given number of bits, preserving the sign bit.
DECLARE NATIVE FUNCTION sign(x: Number): Number
Returns -1 if x is negative, 0 if x is 0, or 1 if x is positive.
Functions for making HTTP requests.
FUNCTION sin(a: Complex): Complex
Sine.
FUNCTION sinh(a: Complex): Complex
Hyperbolic sine.
DECLARE NATIVE FUNCTION size(f: MemoryFile): Number
Return the size of a memory mapped file.
FUNCTION Struct.sizeof(self: Struct): Number
Return the total size of a structure definition.
DECLARE NATIVE FUNCTION sleep(seconds: Number)
Sleep for the given number of seconds.
Opaque type representing a network socket.
Indicates some kind of socket error.
DECLARE NATIVE FUNCTION spawn(command: String): Process
Create a new process with the given command line.
Error occurred spawning new process.
DECLARE NATIVE FUNCTION split(s: String,
d: String): Array<String>
Split a string into parts using the given delimiter.
DECLARE NATIVE FUNCTION splitLines(s: String): Array<String>
Split a string into lines using any of CRLF or CR or LF line endings.
FUNCTION sprintf(fmt: String,
value: Object...): String
Given a format string and an array of parameters, format the string and return the result.
SQL exception.
Functions for working with SQLite relational databases.
FUNCTION sqrt(a: Complex): Complex
Square root.
FUNCTION square(a: Complex): Complex
Complex square (a^2).
Call stack exceeded limit.
FUNCTION Stopwatch.start(INOUT self: Stopwatch)
Start a stopwatch.
The standard error file.
The standard input file.
The standard output file.
FUNCTION Stopwatch.stop(INOUT self: Stopwatch)
Stop a stopwatch.
Stopwatch useful for measuring time intervals.
DECLARE NATIVE FUNCTION str(x: Number): String
Convert a number to a decimal string.
Functions for common string operations.
Unicode string.
An string index is not valid or out of range.
Functions for working with fixed-size structures.
Represents a complete structure as a sequence of fields.
FUNCTION sub( a,
b: Complex): Complex
Complex subtraction.
DECLARE NATIVE FUNCTION symlink(target: String,
newlink: String,
targetIsDirectory: Boolean DEFAULT FALSE)
Create a symlink named newlink that points to target.
Functions for interacting with the system.
DECLARE NATIVE FUNCTION system(command: String): Number
Execute a system (shell) command.
FUNCTION tan(a: Complex): Complex
Tangent.
FUNCTION tanh(a: Complex): Complex
Hyperbolic tangent.
DECLARE NATIVE FUNCTION tcpSocket(): Socket
Create a new TCP/IP (stream) socket.
DECLARE NATIVE FUNCTION tell(f: File): Number
Return the current file pointer position.
Opaque type representing a text file on disk.
Functions for general purpose text input and output with files.
General exception for errors raised by this module.
DECLARE NATIVE FUNCTION tgamma(x: Number): Number
Gamma function.
DECLARE NATIVE FUNCTION tick(): Number
Return a tick count which is the number of seconds since some unspecified time in the past (used by Stopwatch).
Functions for working with time.
DECLARE NATIVE FUNCTION toCodePoint(s: String): Number
Return the Unicode code point of a given character.
FUNCTION DateTime.toString(self: DateTime): String
Return an ISO 8601 formatted representation of a DateTime.
FUNCTION trim(s: String): String
Trim spaces from the start and end of a string.
DECLARE NATIVE FUNCTION trimCharacters(s: String,
 trimLeadingChars,
trimTrailingChars: String): String
Trim given characters from the start and end of a string.
DECLARE NATIVE FUNCTION trunc(x: Number): Number
Truncate to integer (effectively, round toward zero).
DECLARE NATIVE FUNCTION truncate(f: File)
Truncate the file at the current position.
The type of a field.
Close