[REBOL] Re: VID begniner
From: gchiu:compkarori at: 15-Sep-2002 11:40
On Sat, 14 Sep 2002 21:28:09 +0200
"Brahim" <[brahim--el-idrissi--wanadoo--fr]> wrote:
>I m a beginning rebol developpement.
>using "repeat i 10" inside "view layout" block leds to
>this error :
> Unknown word or style: repeat
>Unknown word or style: i
>can someone help me please.
VID stand for Visual Inteface Dialect. So, the block that
is passed to 'layout and thence to 'view, comprises words
that are a special dialect that is interpreted by 'view.
These words are not Rebol words hence the error.
If you wish to run some Rebol code inside the block before
it is passed to the View interpreter, you need to do
view layout compose [ vid words ( some rebol code here ...
) more vid words ]
eg: view layout compose [ vh1 ( join "Testing " 1 + 2 ) ]