I love the Runtime library and using it for an external scripting language sounds seamless! However there is no way to iterate through all runtime objects (e.g. strings 'VariableName', '#ConstantName', ''ProcedureName()'). The types are easy to identify through a little parsing.
Syntax
Result$ = RuntimeObject([Index])
Description
Gets the next runtime object string reference that was embedded into the executable.
Parameters
[Index | Optional] If specified, the runtime object for that index will be returned. The first runtime object index starts from 0.
Return value
The next runtime object value, or an empty string if no more runtime objects are found. If index is specified it will return the specified runtime object value.
Together with CountRuntimeObjects().
Thank you so much!