Hi Marco,
When Oxygen executes as an embedded system it returns the value last assigned to the eax register. (When terminating Basic, this register is stacked while Oxygen releases all its libraries and memory allocations. then it is popped just before returning.)
Thinking of bindings to the host - this is am effective way of returning a pointer to any static workspace. A table of function pointers could be placed in a static array, then the base address is returned to the host.
Would this be useful for Python ?
Charles