In the blitzmax docs it says that you can convert a function into a byte pointer. My problem is converting from a byte pointer back to a function. I always seem to get an error message saying something like 'expression cannot be invoked'. Is it possible? If its not then im not sure why it is even included in the language. If it is possible then that opens up the possibility of writing self modifying code or a uber fast scripting language.
Anyone done anything like this?
It sounds like a fun area to play around in. It may be possible to pass the byte pointer to a C function and have that invoke at that address.
Anyone done anything like this?
It sounds like a fun area to play around in. It may be possible to pass the byte pointer to a C function and have that invoke at that address.