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

[REBOL] Re: try doesn't handle the error??

From: tim-johnsons:web at: 11-Oct-2010 13:22

* Thorsten Moeller <tmoeller-fastmail.fm> [101011 02:52]:
> Hi Luca, > > yes thats it. Don't really know how i could have missed this.
Looks like you got some help that arrived between the time I sent my message and it arrived. Just wanted to add that some programming language distinguishes between *destructive* and *non-destructive* functions. Example: In rebol 'clear would be a *destructive* function
>> t: [1 3 4 5]
== [1 3 4 5]
>> clear t
== []
>> t
== [] whereas 'disarm is a *non-destructive* function. Thus the necessity of the reassignment. cheers -- Tim tim at johnsons-web.com or akwebsoft.com http://www.akwebsoft.com