Re: Euphoria Standard Library on UBoard
- Posted by Jason Gade <jaygade at gmail.com> Jul 31, 2005
- 555 views
don cole wrote: > > > posted by: don cole <doncole at pacbell.net> > > I would like like to see an ON feature similar to basic's. > > Example: > > a=find(something,mystuff) > > on a procedure(wrapup{},closedown{},startup(),lookmore{},etc..) > > Don Cole, > SF > > > > Can't you do something similar already?
-- untested integer a sequence routines routines = { routine_id("wrapup"), routine_id("closedown"), routine_id("startup"), routine_id("lookmore")} call_proc(routines[a], {})
It could probably be made prettier and wrapped up, but... -- ============================== Too many freaks, not enough circuses. j.