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

[REBOL] Re: help with function utilising "extended life-time" words ..

From: maximo:meteorstudios at: 1-Oct-2003 15:54

man, just swap the variable names and our example are almost identical... ;-) I didn't use an object, just because I tought he really just wanted a function... it uses one global word for accumulated do times... it also safely returns a value, which can be cool if you also wish to test the validity of returned data in addition to speed gains. for example, you could more easily trap floating point problems... when testing different floating point tricks, cause you can then compare the value... -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.