RE: atoms, grrrrrr
On 21 Feb 2001, at 14:00, Brian Broker wrote:
> Kat,
>
> What I usually do in a case like this is either trace it or just put the
> following before the test:
>
> ? at1
3
> ? s1
s1 is a nested sequence, which is what it should be, so it won't ?"", but ex.err
and the
tracer window says it is:
s1 = {{116't',104'h',101'e'},{99'c',97'a',116't'},{97'a',116't',101'e'},
which is correct, as it should be.
? length(s1)
will print out: 3
then
if at1 < length( s1 )
crashes.
Robert, might i have a bad version of exw.exe? I seem to be the only one having
these
odd problems.
Kat
PS!!!!!!!
AAARRRRRRRGGGGGGG
the ex.err was reporting the wrong line, see where i changed put in equal()
below
<sigh>:
if at1 < length( s1 )
and at2 < length( s2 )
and equal(s1[at1] , s2[at2+1])
and equal(s1[at1+1] , s2[at2]) then
left &= s1[at1..at1+1]
right &= s2[at2..at2+1]
at1 += 1
at2 += 1
exit
end if
|
Not Categorized, Please Help
|
|