Standard Library
DLiteScript provides a comprehensive standard library with built-in functions organized into namespaces.
Global Functions
Global functions including printf, sprintf, dump, and exit. Core functions are available for common operations without a namespace prefix.arrays Namespace
Array manipulation functions including push, pop, slice, sort, join, reverse, splice, and more for working with the array data structure.errors Namespace
Error handling functions for creating, throwing, and managing error values. Build robust error handling in your applications using the error data type.math Namespace
Mathematical functions including trigonometry, logarithms, rounding, abs, sqrt, pow, min, max, and more for numerical calculations.os Namespace
Operating system functions for setting and getting environment variables and system interaction. Access and modify system settings from your scripts.strings Namespace
String manipulation functions including split, join, replace, trim, substring, indexOf, case conversion, and more for text processing.time Namespace
Time and date functions for getting current timestamps and controlling execution delays. Manage timing and delays in your scripts.