Scripts.evalStorage

Function/Meaning
Evaluation of expressions on storage
Type
Method of the Scripts class
Syntax
evalStorage(storage, mode='', context=global)
Arguments
storage Specifies the storage to evaluate.
mode Specifies the mode string when reading the file. If "o" is followed by a decimal offset, reading starts from that byte position in the file.
context Specifies the execution context.
Return Value
Returns the result of the evaluated expression.
Description
Reads the specified storage and evaluates its content as a TJS2 expression.
Exceptions occurring during script execution are not caught within this method, so they can be caught by the caller of this method.
Reference
Scripts.execStorage