Re: Forward referencing
I believe that the bug referenced only applied to routine_id() calls, not
forward referencing in general.
Enabling code like this:
function Func1( integer i )
return call_func( routine_id("Func2"), {2} ) -- "Func2" not resolved until
called
end function
function Func2( integer i )
return i * 2
end function
I support this bug/feature for routine_id, not for general forward referencing.
I've heard that it would have helped writing Win32lib greatly.
--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.
|
Not Categorized, Please Help
|
|