Re: Let me try once more
- Posted by Michael Nelson <MichaelANelson at WORLDNET.ATT.NET> Jan 29, 2001
- 593 views
MTS wrote: <snip> > I'd personally like to see it implemented as a > 'load()' routine, wich would work like this; > > integer MyFoo > MyFoo = load( > "procedure MyFoo() puts(1,\"FOO!\") end procedure" > ) > > call_proc(MyFoo,{}) > > So that you could do this if ya want; > integer fptr > fptr = open("dll.txt","w") > > puts(fptr,"procedure MyFoo() puts(1,\"FOO!\") end > procedure\n") > > call_func(load(gets(fptr)) > > > > Cool huh? > > Mike The Spike </snip> Very cool indeed. Rob, how about it--I can think of several ways to use it off the top of my head and I'm sure others would have even more ideas than I do. I don't know about the difficulty of implementation as I know nothing about the inner working of the interpreter--but the syntax is elegant and easy to understand--very Euphorian. -- Mike Nelson > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > ____________________________________________________________ > T O P I C A -- Learn More. Surf Less. > Newsletters, Tips and Discussions on Topics You Choose. > http://www.topica.com/partner/tag01 > > ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01