if statement with sequences

new topic     » topic index » view thread      » older message » newer message

thanx for solving my last problem. this works now. but here comes my
next one:

sequence s
s = {"o", 3}

i want to check if there's an o, so i had this

if s[1] = "o" then do whatever

it doesn't work, i tried changing it to

if s[1] = 'o' then do whatever
if s[1] = 111 then do whatever

but it still doesn't work. i always get the error "true/false
condition must be an ATOM".

what to do?

thanx
felix

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu