Pascal (ISO 7185:1983)
Compared to C, the original Pascal language had some rather idiosyncratic restrictions, which made it difficult to write real programs in. It was clearly intended to be for learning how to program.
- Pascal has no variable-length strings. They are implemented as array of chars and assigments must be padded with spaces to fill the size of the array.
- Pascal has no
continue
orbreak
statements to terminate loops early. They would have to be implemented with nested if-statements orgoto
replacements. - Pascal has no
return
statement. You assign the result to a pseudo variable of the same name as the function. - Read/ReadLn can not take array of characters as argument.
More information in the ISO 7185 Standard.
OS-9 Pascal
OmegaSoft Pascal was developed starting in 1979 for the Motorola 6809 Processor. It was ported to MDOS, FLEX and OS-9. The original designer was Certified Software Corporation.
Microware Pascal was originally developed by Iowa Mountain Software and is a very thorough implementation of the language according to ISO Standard 7185.1 level 0. It has a few extensions: CASE statements can have an OTHERWISE option; bit-by-bit Boolean operators are included ('&', '!' and '#').
- Amazing program from BASIC Computer Games
- Hexapawn program from BASIC Computer Games
- Hunt the Wumpus
- List a text file to standard output
- Random numbers support
- Recursive algorithm to solve sudoku
- Super Startrek