Function 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
G
 garbageCollect
 get
 get32
 get64
 getAllocatedObjectCount
 getcwd
 getenv
H
 hasPrefix
 hasSuffix
 hypot
I
 input
 intdiv
 inv
 isBlank
 isDirectory
 isModuleImported
 isRunning, Stopwatch
J
 join
K
 kill
L
 ldexp
 lgamma
 listen, Socket
 log
 log10
 log1p
 log2
 lower
M
 make
 makeBoolean2D
 makeBoolean3D
 makeFromInstant
 makeFromParts
 makeFromString
 makeNumber2D
 makeNumber3D
 makeString2D
 makeString3D
 max
 min
 minusDuration, DateTime
 minusPeriod, DateTime
 mkdir
 moduleIsMain
 mul
N
 nearbyint
 not32
 not64
 notBytes
 now
 num
O
 odd
 open
 or32
 or64
 orBytes
 output
DECLARE NATIVE FUNCTION garbageCollect()
Force a garbage collection immediately.
FUNCTION get(url: String,
requestHeaders: Dictionary<String>,
OUT responseHeaders: Array<String> DEFAULT _): Bytes
Perform an HTTP GET operation with the specified url.
DECLARE NATIVE FUNCTION get32( x,
n: Number): Boolean
Get a specific bit from a 32-bit word.
DECLARE NATIVE FUNCTION get64( x,
n: Number): Boolean
Get a specific bit from a 64-bit word.
DECLARE NATIVE FUNCTION getAllocatedObjectCount(): Number
Return the number of objects currently allocated.
DECLARE NATIVE FUNCTION getcwd(): String
Return the working directory of the current process.
DECLARE NATIVE FUNCTION getenv(name: String): String
Return the value of an environment variable in the current process.
FUNCTION hasPrefix(s: String,
prefix: String): Boolean
Return TRUE if a string has a specific prefix.
FUNCTION hasSuffix(s: String,
suffix: String): Boolean
Return TRUE if a string has a specific suffix.
DECLARE NATIVE FUNCTION hypot(x: Number,
y: Number): Number
Hypotenuse.
DECLARE NATIVE FUNCTION input(prompt: String): String
Read a line of input from the terminal after printing a prompt.
DECLARE NATIVE FUNCTION intdiv(x: Number,
y: Number): Number
Integer division with rounding toward zero.
FUNCTION inv(a: Complex): Complex
Complex inverse.
FUNCTION isBlank(s: String): Boolean
Return TRUE if a string is empty or contains only whitespace.
DECLARE NATIVE FUNCTION isDirectory(path: String): Boolean
Similar to exists, but only returns TRUE if the path actually is a directory.
DECLARE NATIVE FUNCTION isModuleImported(module: String): Boolean
Return TRUE if the named module is imported.
FUNCTION Stopwatch.isRunning(self: Stopwatch): Boolean
Return TRUE if the stopwatch is running.
FUNCTION join(a: Array<String>,
d: String): String
Join an array of strings together using the given delimiter.
DECLARE NATIVE FUNCTION kill(process: Process)
Kill a process.
DECLARE NATIVE FUNCTION ldexp(x: Number,
exp: Number): Number
Multiplies a floating point value x by the number 10 raised to the exp power.
DECLARE NATIVE FUNCTION lgamma(x: Number): Number
Log gamma function.
FUNCTION Socket.listen(self: Socket,
port: Number)
Listen for incoming connections on a specific port.
FUNCTION log(a: Complex): Complex
Complex logarithm.
FUNCTION log10(a: Complex): Complex
Complex logarithm (base 10).
DECLARE NATIVE FUNCTION log1p(x: Number): Number
Computes the natural (base e) logarithm of 1+arg.
DECLARE NATIVE FUNCTION log2(x: Number): Number
Logarithm (base 2).
DECLARE NATIVE FUNCTION lower(s: String): String
Return a string with all alphabetic characters converted to lower case.
FUNCTION make(re: Number,
im: Number): Complex
Make a complex number from real and imaginary parts.
FUNCTION makeBoolean2D( rows,
columns: Number): ArrayBoolean2D
Create a new ArrayBoolean2D with the given number of rows and columns.
FUNCTION makeBoolean3D( rows,
 columns,
depth: Number): ArrayBoolean3D
Create a new ArrayBoolean3D with the given number of rows, columns, and depth.
FUNCTION makeFromInstant(inst: Instant): DateTime
Convert a specific instant into a DateTime record.
FUNCTION makeFromParts(dt: DateTime): DateTime
Given timestamp parts, return a DateTime representing the instant.
FUNCTION makeFromString(s: String): DateTime
Make a DateTime from a string representation.
FUNCTION makeNumber2D( rows,
columns: Number,
value: Number DEFAULT): ArrayNumber2D
Create a new ArrayNumber2D with the given number of rows and columns.
FUNCTION makeNumber3D( rows,
 columns,
depth: Number): ArrayNumber3D
Create a new ArrayNumber3D with the given number of rows, columns, and depth.
FUNCTION makeString2D( rows,
columns: Number): ArrayString2D
Create a new ArrayString2D with the given number of rows and columns.
FUNCTION makeString3D( rows,
 columns,
depth: Number): ArrayString3D
Create a new ArrayString3D with the given number of rows, columns, and depth.
DECLARE NATIVE FUNCTION max(a: Number,
b: Number): Number
Return the greater of two numbers.
DECLARE NATIVE FUNCTION min(a: Number,
b: Number): Number
Return the lesser of two numbers.
FUNCTION DateTime.minusDuration(self: DateTime,
duration: Duration): DateTime
Subtract a Duration from a DateTime and return a new DateTime.
FUNCTION DateTime.minusPeriod(self: DateTime,
period: Period): DateTime
Subtract a Period from a DateTime and return a new DateTime.
DECLARE NATIVE FUNCTION mkdir(path: String)
Create a new directory with the given name.
DECLARE NATIVE FUNCTION moduleIsMain(): Boolean
Return TRUE if the calling module is being run as the main program.
FUNCTION mul( a,
b: Complex): Complex
Complex multiplication.
DECLARE NATIVE FUNCTION nearbyint(x: Number): Number
Returns an integer close to x by rounding.
DECLARE NATIVE FUNCTION not32(x: Number): Number
Invert all bits in a 32-bit word.
DECLARE NATIVE FUNCTION not64(x: Number): Number
Invert all bits in a 64-bit word.
DECLARE NATIVE FUNCTION notBytes(x: Bytes): Bytes
Invert all bits in a Bytes buffer.
FUNCTION now(): DateTime
Return the current timestamp as a DateTime.
DECLARE NATIVE FUNCTION num(s: String): Number
Convert a decimal number as a string to a number.
DECLARE NATIVE FUNCTION odd(x: Number): Boolean
Return TRUE if the given number is odd.
DECLARE NATIVE FUNCTION open(name: String,
mode: Mode): File
Open a file with the given name and mode.
DECLARE NATIVE FUNCTION or32( x,
y: Number): Number
Bitwise logical “or” of two 32-bit words.
DECLARE NATIVE FUNCTION or64( x,
y: Number): Number
Bitwise logical “or” of two 64-bit words.
DECLARE NATIVE FUNCTION orBytes( x,
y: Bytes): Bytes
Bitwise logical “or” of two Bytes buffers.
FUNCTION output(s: String)
Print a string to standard output followed by a newline.
Close