Page 1 of 1

Automatic procedure-tracking

Posted: Sun Aug 20, 2006 12:53 pm
by Hroudtwolf
Hello Fred,

It would be realy nice, if the compiler would track the procedures of a code automaticly.
So we could use procedures how ever we want in the code without any predeclarations.

That is no criticism. Only a wish. ;-)


Best regards

Hroudtwolf

Posted: Sun Aug 20, 2006 1:01 pm
by DarkDragon
One-Pass-Compiling goes Multi-Pass-Compiling?! Ohh my god, compiling would be so slow then. My game needs more than 5 seconds to compile.

Posted: Sun Aug 20, 2006 1:03 pm
by Trond
Back-patching?

Posted: Sun Aug 20, 2006 1:04 pm
by Hroudtwolf
Hey, that needs a simple tracking of procedures and no complete compiling.
Your code would compile 5.5 seconds ;-)

Posted: Sun Aug 20, 2006 1:09 pm
by thefool
It could simply check when a procedure is made and then add a declare @ the top of the code.

Posted: Sun Aug 20, 2006 1:11 pm
by Hroudtwolf
Exactly. That should be doable !?

Posted: Sun Aug 20, 2006 1:13 pm
by MLK
lets extend option explicit to declare/global! isn't that the solution?

Posted: Sun Aug 20, 2006 2:05 pm
by walker
...or write a plugin for the IDE which does the job for you... that shouldn't be hard to do...

Posted: Sun Aug 20, 2006 2:28 pm
by Hroudtwolf
I use such a plugin already. But plugins are not realy a solution.
This would be only a nice feature for the compiler.
Everything else is nonsense.

Posted: Tue Aug 22, 2006 1:49 am
by mskuma
This issue was recently discussed here