FixBuild Documentation

Back to summary

Execution environment

Global functions

Embedded resources

function get_resource(fname: String): Byte[]
Returns the resource data as a shared array of bytes.
function get_resource_string(fname: String): String
A variant of the get_resource function to return the data as a string type (no charset conversion is done).
function get_resource_list(): String[]
Returns a list of all stored resource file names.

Custom logging

function set_log_function(func)
Sets a new logging function. The logging function receives a single parameter, it should convert any non-string values into a string using the to_string built-in function. The function can use the log function to produce an output (it will use the default implementation when called from the custom log handler). To revert back to the default logging function just pass null as a function.