[REBOL] Re: Bug in LAYOUT with VAL helpdesk #6211
From: larry::ecotope::com at: 29-Apr-2001 17:06
I found the bug.
>> protect 'val
>> layout [box "hello"]
** Script Error: Word val is protected, cannot modify
** Where: forall
** Near: val: first args
LAYOUT calls several other VID functions and the code above is in a function
called GROW-FACETS, which is called by LAYOUT. The word VAL should have been
declared local to GROW-FACETS, but was not.
Until it gets fixed, I devised a quick patch for GROW-FACETS. You can get it
Put the script in the same directory as your user.r file and add this line
to your user.r file.
The more advanced REBOLS out there may enjoy figuring out how the patch
----- Original Message -----
From: "Larry Palmiter" <[larry--ecotope--com]>