rebol2

When I use error? and try, err need a value

守給你的承諾、 提交于 2019-12-04 09:38:18
Here my function that execute cmd as a Rebol instructions : exec-cmd: func [ cmd [ block! ] "Rebol instructions" /local err ] [ if error? err: try [ do cmd ] [ print mold disarm err ] ] When I launch the function, I've encountered the following error message : ** Script Error: err needs a value ** Where: exec-cmd ** Near: if error? err: try [ do cmd ] How can I avoid this message and manage the error ? When the Rebol default evaluator sees a sequence of a SET-WORD! followed by a "complete" expression, it will assign the result of that expression to the named word. However, Rebol has the

What is the summary of the differences in binding behaviour between Rebol 2 and 3?

爷,独闯天下 提交于 2019-11-30 07:01:56
The current in-depth documentation on variable binding targets Rebol 2. Could someone provide a summary of differences between Rebol 2 and 3? BrianH There isn't really a summary somewhere, so let's go over the basics, perhaps a little more informally than Bindology . Let Ladislav write a new version of his treatise for R3 and Red. We'll just go over the basic differences, in order of importance. Object and Function Contexts Here's the big difference. In R2, there were basically two kinds of contexts: Regular object contexts and system/words . Both had static bindings, meaning that once the

What is the summary of the differences in binding behaviour between Rebol 2 and 3?

烂漫一生 提交于 2019-11-29 08:35:25
问题 The current in-depth documentation on variable binding targets Rebol 2. Could someone provide a summary of differences between Rebol 2 and 3? 回答1: There isn't really a summary somewhere, so let's go over the basics, perhaps a little more informally than Bindology. Let Ladislav write a new version of his treatise for R3 and Red. We'll just go over the basic differences, in order of importance. Object and Function Contexts Here's the big difference. In R2, there were basically two kinds of