All Questions
2
questions
9
votes
1
answer
2k
views
Is this a bug or an allowed Pascal behavior?
Consider the following Pascal program:
1 1 PROGRAM MAIN(OUTPUT); VAR F:TEXT; I:INTEGER;
2 2 BEGIN
3 2 REWRITE(F);
4 3 FOR I := 10 TO 30 DO BEGIN
5 3 WRITELN( I, ’...
7
votes
1
answer
510
views
Was dynamic type check in Pascal commonplace?
The BESM-6 Pascal compiler I'm experimenting with has a notable difference from Standard Pascal: formal arguments of formal parameters-procedures or functions are not specified, but are checked at ...