Re: [CVS ci] NCI sub call syntax in PIR

2004-05-06 Thread Dan Sugalski
At 9:12 AM +0200 5/6/04, Leopold Toetsch wrote: A bit less typing for NCI calls: 1) declare the pmc type as NCI .local NCI the_sub # get it from somewhere e.g.: # the_sub = global "ncurses::initscr" 2) just call it: r = the_sub(args) Works only for named subs of course. This saves a save

[CVS ci] NCI sub call syntax in PIR

2004-05-06 Thread Leopold Toetsch
A bit less typing for NCI calls: 1) declare the pmc type as NCI .local NCI the_sub # get it from somewhere e.g.: # the_sub = global "ncurses::initscr" 2) just call it: r = the_sub(args) Works only for named subs of course. This saves a savetop/restoretop pair and creating a return contin