Adriweb wrote:Could there be a way to know which function/det(... corresponds to, in reality? maybe by selecting the corresponding line on the menu when the cursor is on a det( ?
When I read this, I immediately thought that would be nice indeed
What I prefer, is something like a hook, that when you 'hover' a det( function, that is displays the text in the statusbar, like error-scrolling in BASIC, that it displays the line number. I will think about this later
Epharius wrote:Nice PT_! It seems to work right now
Do all the functions work when you convert your program?
Nope, I've not implemented all the functions that returns something (GetPixel for example), and the way-too-hard-examples, like TileMap etc
Epharius wrote:I thought about something : maybe it would be feasible to create equate Tokens, like the Color tokens (BLUE=10, RED=11 etc). Then, SetTextXY would be 19 etc. Maybe a TokenHook could replace for example 2-bytes tokens that don't exist by any C function.... but yea, it should be pretty hard to do
That's basically the same as replacing det(SetTextXY) with SetTextXY()
It's pretty hard to find at lest 80 unused tokens, preferable consecutive (the statistics ones are only 60), so I doubt this will help