Re: Routine_ID Is No Doubt My Solution...
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Apr 12, 2003
- 450 views
On Thu, 10 Apr 2003 16:23:15 -0500, "C. K. Lester" <cklester at yahoo.com> wrote: >How come I get no valid routine_ids? Yikes, now there is a nasty programming gotcha. Somehow at the point where routine_id is called it appears to be searching a saved list of routine names known at that point during parsing... rather than the expected scan of the full symbol table at that point during execution! Maybe an over-zealous optimisation, Rob? Anyway, comment out the call to routine_id within add_command() and insert the following code after all add_command()s have been issued. command_id =3D repeat(-1,length(command_list)) for i =3D 1 to length(command_list) do command_id[i]=3Droutine_id(command_list[i]) end for Pete