compare() and equal()
- Posted by Kat <gertie at PELL.NET> Apr 08, 2001
- 519 views
This bugs me a bit: compare can do this: x = compare({1,2,{3,{4}},5}, {2-1,1+1,{3,{4}},6-1}) -- identical, x is 0 but if i use equal there, it faults out with an error about a sequence being in there. Also, if equal() is true, it returns boolean true, but if compare() is true, it returns boolean false. Robert, can equal() be made more like compare() when it comes to those nested subsequences? Kat