Built-in Modules
All stdlib calls use the Module:Method(args) syntax. Methods that return a value follow the ByRef convention: pre-declare a receiver variable and pass it as the last argument.
Var:Number h;
Time:GetHour(h);
Konsol:Print(h); // current hour
I/O
| Module |
Description |
| Konsol |
Terminal I/O, ASCII utilities |
| File |
File open/read/write/close |
| OS |
Working directory, env vars, process control, dir listing |
| Path |
Path manipulation and filesystem queries |
Collections
| Module |
Description |
| Array |
Fixed-size typed array |
| List |
Dynamic resizable typed array |
| Dictionary |
String-keyed dictionary |
Text
| Module |
Description |
| String |
String manipulation - trim, split, replace, compare |
| Regex |
Pattern matching and capture groups |
Data
| Module |
Description |
| JSON |
Parse, build, and serialize JSON |
| CSV |
Parse, build, and serialize CSV |
| Hash |
MD5, SHA-256, Base64 |
Math & Time
| Module |
Description |
| Math |
Numeric operations, trigonometry, random |
| Time |
Wall-clock time, process timer |
| Date |
Unix-timestamp date arithmetic and formatting |
→ OOP wrappers - object-oriented facades over these modules, using return-type syntax instead of ByRef