I'm sorry peter but this is impossible.
There is no addressof of a script function because thinBasic does not produce any intermediate or compiled code but just pure parsing.
I have to say that thare could be some trick for the future in order to be able to get back a real addressof to a compiled code but this is thinBasic vaporware for the moment so better not to talk.
Anyhow, if you can give some more info about what you are doing maybe there are different roads to follow but I'm quite sure you are doing some interfacing with external libraries that require a pointer to a function where to pass data to be handled and get back.
Sorry.
Eros
Bookmarks