RE: compare() and equal()
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Apr 10, 2001
- 508 views
> -----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