Back to table

Bad Spelling

The following is an invalid µOCCAM program. Hmmm this is an inspired example, sorry was running out of time. It quite obviously tests whether or not the variable name used in the program is the same as that used in the declaration. Your compiler should cry if it isn't. I have nothing against Americans.

Program file: /public/cs3/web/ipptests/American.reject
INT Itemise = 5:    
INT Colour:      


SEQ
  Color := Itemize * 2 -- American spelling causing problems