Re: LAST DECLARED PROCS VISIBLE TO EARLY DECLARD PROCS
- Posted by "Carl R. White" <euphoria at cyreksoft.yorks.com> Mar 29, 2005
- 487 views
ZNorQ wrote: > Lame title, I know.. Spent quite some time, and came up with that..! Doh! > > When we declare procedures and functions, the last procedures/functions > aren't visible to the early procedures/functions. > ie; > > procedure firstproc() > lastproc() > end procedure > > procedure lastproc() > end procedure You need routine_id(): integer lastproc_id procedure firstproc() call_proc(lastproc_id, {}) end procedure procedure lastproc() end procedure lastproc_id = routine_id("lastproc") Also see one of my old posts here: http://tinyurl.com/5y7y9 Carl -- [ Carl R White == aka () = The Domain of Cyrek = ] [ Cyrek the Illogical /\ www.cyreksoft.yorks.com ]