What's the opposite of chars ('b')
Author |
Message |
canmovie
|
Posted: Thu Nov 18, 2010 5:27 pm Post subject: What's the opposite of chars ('b') |
|
|
How can I make the following work?
var chars : array char of boolean
loop
if chars not ('b"
put "hello"
end loop
How come this works, but "chars not = ('b')" doesn't work??
if chars ('b') then
loop
put "hello"
end loop |
|
|
|
|
|
Sponsor Sponsor
|
|
|
TheGuardian001
|
Posted: Thu Nov 18, 2010 5:40 pm Post subject: Re: What's the opposite of chars ('b') |
|
|
not chars('b')
chars is an array. when you press b, chars('b') is true. You want not chars('b'), as in chars('b') is false. |
|
|
|
|
|
|
|