RE: compare() and equal()

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

> -----Original Message-----
> From: Kat [mailto:gertie at PELL.NET]
 
> --if equal(left,right)
>             if (compare(left,right) = 0) -- 0 = equal !!
> 		  then result &= sprintf("%s", {right})
> 		  else result &= sprintf("[%s,%s]", {left,right} )
>                 end if

I think I see what the problem is.  Earlier, you said that the error was:
"it faults out with an error about a sequence being in there."  I think this
was really coming from sprintf rather than equal/compare, because sprintf
will choke if right or left have a nested sequence (ie, they're not really
strings).

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu