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

[REBOL] Re: No return Value???

From: maximo:meteorstudios at: 28-Nov-2003 15:10

print does not return any value, I had to work around that in encompass... (hence the /silent refinement) you can build up a function which returns no value: a: func [data][ ; do what you want with data return unset 'data ] the above is not really usefull but if you want to free the memory used up by data (cause each word in a function keeps its value in between each function call), then this is one way of ensuring it does not hang around. ladislav and gabrielle might correct me if I'm wrong. -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun.