Re: Questions from a Beginner.
- Posted by irv May 28, 2009
- 935 views
First of all, you cannot make a sequence {E,0,0}.
If you put single quotes around the 'E' then you can make a sequence, which is exactly the same as {69,0,0}
sequence s1,s2 s1 = {'E',0,0} s2 = {{70,0,0},{69,0,0},{68,0,0}} if equal(s1,s2[2]) then puts(1,"They are equal\n") else puts(1,"They are not equal\n") end if