Ralf R. wrote:Perhaps using original variable names is possible, if the QLiberated program was compiled with "Names on", then there are all variables and prc/fn names at the bottom of the compiled program. And in case of the QLib Error window, they are showed, so recognized by the runtime modul (I think...)
Would be interesting to know, why there is a runtime module and what it does.
I have noticed in my test programs (compiled with the default settings) that it looks like any variable that is used in a PRINT statement, has its real name stored. But I don't know if this is just a coincidence.
In a standard compiled program, There is a bit of machine code near the start of the program. That looks like it just checks that the runtime module is loaded, and where it is in memory. If the runtime module is included in the program, I think it is stored just after this.
It looks like the runtime module is a kind of 'virtual machine' that reads the encoded SuperBASIC program, converts each instruction into machine code, and runs it. Very much like Turbo/SuperCharge.