Category Archives: Turbo Pascal 7

About constants in Turbo Pascal 7

In Turbo Pascal (TP7), const x = 1 is immutable (a true constant), while const x: integer = 1 is a variable in disguise Example snippet: But the behaviour is still expected like in Free Pascal: the compiler picks up … Continue reading

Posted in Turbo Pascal 7 | Tagged , , | Leave a comment