RE: boolean error?

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

> -----Original Message-----
> From: Kat [mailto:gertie at PELL.NET]

> This has me puzzled, i see no reason in this:
> 
> >From ex.err:
> n = {0}
> 
> so why doesn't this line execute?
> if equal(n,"0") or equal(n,0) then

Because they're not equal.  Your line is equivalent to:

if equal(n,{48}) or equal(n,0) then

Perhaps change it to:

if equal(n,"0") or equal(n,0) or equal(n,{0}) then

or...

if find(n, { "0", 0, {0} } ) then

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu