Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: save/all [slim]

From: moliad::aei::ca at: 4-Apr-2004 4:59

> This works WRT evaluation but give an other error I don't understand: > ** rval needs a value > ** Where: save > ** Near: rval: do encloded-func
Gabriele is right, this is specific to slim... what happens is that because encompass wants to return any return value that the function its calling returns, it assigns that to an internal value. Robert. There may be a better way for me to handle this, internally (within encompass), but encompass itself already has a mode ( /silent ) which handles functions with no return values... so 'save and 'write should use this ... I don't know how that one slipped by! I have fixed this issue in the version I just uploaded to version also adds theese two small extensions: ** Lets you use a word or string on expose calls, it will find the lib for you. ex: slim/expose 'glayout [ view layout ] instead of: slim/expose lib-ptr [ view layout ] ** Lets you expose on the open... call ex: slim/open/expose 'glayout 1.0 [ view layout ] HTH! -MAx