It's amazing......
[1/3] from: jfdutcher1958::yahoo::com at: 16-Jul-2004 12:13
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: ""
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[
alert "All input boxes need to be filled !"]
]
[2/3] 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 '=='
<<quoted lines omitted: 3>>
> 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
<<quoted lines omitted: 4>>
> 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
[3/3] from: antonr:lexicon at: 21-Jul-2004 2:26
That's not quite true. :)
>> #"A" = 65
== true
But, it's not the kind of equality he is expecting. :)
Anton.
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted