type test broken

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

I am feeding a sequence to some code:

data = parse("AbCdEF",{"si",'c'})

global function parse(sequence s, object c)

if sequence(c) then
  str = 0 -- this is executed
end if

if atom(c) 
 then 
  --code -- not executed
 else 
  -- code -- not executed
end if


So why won't the "if atom(c)... else" code execute?

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu