[comp.lang.pascal] What's wrong

k34386t@kaira.HUT.FI (Petri Kruiseri Suominen) (07/17/88)

What am I doing wrong, the following piece of code is giving
me an error 61:invalid type cast


x:=ord(z)        { z:char }



What amazes me most, is that it worked before. I've succesfully compiled
the program in question many times, and now it starts reporting this error.
Absolutely NO changes was done to the particular procedure having this line.
I did alter other parts of the program, but that shouldn't affect this, all
the variables involved are local. IS THIS A BUG ?