
-----------------------------------
canmovie
Thu Nov 18, 2010 5:27 pm

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

-----------------------------------
TheGuardian001
Thu Nov 18, 2010 5:40 pm

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.
