EXPORT
stack debugThe EXPORT
function allows you to set or update a list of symbols which will be dumped upon script termination. This proves handy when
debugging a script as you can visualize, even in the case of errors, the value of specific symbols.
The function expects either a symbol name (a STRING) which will be added to the current list of exported symbols, a list of symbol name which will replace the current list of exported symbols, an empty list to disable symbol export altogether, or a list with a single NULL element to instruct the WarpScript engine to export all existing symbols.
When symbols should be exported, the debug mode is implied (see DEBUGON
).