Hi
I am running automatically some code on startup and in that code I want to delay the evaluation of some lines (not the execution). Consider this code
this.preProcessor = {|code| code.replace("whatever", "'yeah!'.postln") };
whatever()
If you run the first line and then after you run the second, there is no error and you get “yeah” in the post window. However, if you now recompile the lang (to clear the preprocessor) and then run both lines together there is an error because whatever() does not exist yet when the second line is evaluated.
Anyone knows how to make this work as I need?
thanks
enrike