Skip to content
Splizard edited this page Apr 3, 2018 · 5 revisions

This is a minimal reference.

number(), number(text), number(array)

Returns a number.

text(), text(number)

Returns text.

binary(), binary(text), binary(number)

Returns a binary number.

copy(text), copy(array)

Return a copy of an array instead of a reference.

load(number), load(string)

Return system arguments or environmental variables. Can also open sockets depending on your target. See https://github.com/Qlova/uct/blob/master/doc/uri.md

open(text), close(pipe)

Open a pipe, close a pipe.
Provided string can be a URI to a file, network location or anything supported by the compile-target.| See https://github.com/Qlova/uct/blob/master/doc/uri.md

execute(text)

Execute a system command, returns output.

delete(text)

Deletes files.

len(array), len(text), len(number)

Return the length of a an array or piece of text.

sort(array)

Sort an array by smallest to largest.

swap(a, b)

Swaps two local variables of the same type.

save(t)

Returns text that represents the state of the type. The state can be loaded by the type by calling the type with the text as its argument.