6.4.2.2 d) The ordinal numbers of each value of char-type are implementation-defined.
Irie Pascal uses the position of each value of char type, in the current character set, as it's ordinal number. So for example since the space character is at position 32 then
ord(' ') = 32