Re: Return value of load

2009-07-04 Thread Meikel Brandmeyer
Hi Stephen, thanks for your thoughts. Am 04.07.2009 um 16:19 schrieb Stephen C. Gilardi: Is there some specific reason for that or could load be adapted to also return the last value evaluated? I experimented with this, got it to work for a simple case, and prepared my initial reply below

Re: Return value of load

2009-07-04 Thread Stephen C. Gilardi
On Jul 4, 2009, at 4:02 AM, Meikel Brandmeyer wrote: Is there some specific reason for that or could load be adapted to also return the last value evaluated? I experimented with this, got it to work for a simple case, and prepared my initial reply below. In working with the idea some more

Return value of load

2009-07-04 Thread Meikel Brandmeyer
Hi, load-reader and load-string currently return the last value from the code loaded. This is actually nice. As waterfront I'd like to use this to load plugins, which then simply return a structure with information about the plugin as last value. I'd like to distribute some standard plugins in t