[REBOL] Re: It's amazing......
From: nitsch-lists:netcologne at: 16-Jul-2004 23:46
On Freitag, 16. Juli 2004 21:13, John Dutcher wrote:
> I tried separating with spaces...no change to result.
>
> I tried experimenting as below substituting '=' and '=='
> for the '<>' that I am really wanting to filter with.
>
> When the relational is '=' or '==' there are 'NO'
> alerts posted....when the value inside the block
> is for example: 222210
>
> blk: ""
This is a string. use
blk: copy[]
to get a fresh block
> append blk length? to-string num1/text
> append blk length? to-string num2/text
> append blk length? to-string num3/text
> append blk length? to-string num4/text
> append blk length? to-string num5/text
> append blk length? to-string num6/text
> print blk
> foreach lgth blk [if lgth = 2[
if blk is a string, lgth is a char, and thats never equal to a number ;)
> alert "All input boxes need to be filled !"]
> ]
>
-Volker