User Guide
Quick Reference
Modding
Development
User Guide
Quick Reference
Modding
Development
Function | Description |
---|---|
deserialize | reconstruct data from an array of bytes |
dictkeys | returns the keys of a dictionary as an array |
dictvalues | returns the values of a dictionary as an array |
dir | returns the variable names of a namespace as an array |
eval | parses and executes argument as a script, returns result |
File | returns a Core.File object |
floor | rounds a number down to an integer |
globals | returns the global namespace as a record |
len | determines the length/size of the argument |
locals | returns the local namespace as a record |
members | returns the members of a record as a dictionary |
Number | converts argument to a number value |
Record | duplicates a record or creates an empty one |
serialize | serializes data into an array of bytes |
subrecords | returns the subrecords of a record as a dictionary |
Text | converts argument to a text string |
Time | converts argument to a Time |
timedelta | calculates difference between two Times (as seconds) |
typeof | returns type of a value as a text string |
The Doomsday Script Standard Library consists of a collection of native built-in modules and script modules. Applications also provide a number of built-in modules for scripts.