Hi,
I have a Pascal source file which I need to compile, you can find code like this in it:
type x = array [1:2] of integer;
a = ^b;
b = record u: x;
v : pointer;
w,o : a;
end;
The file doesn't compile with fpc, what kind of dialect of Pascal may it be?
Thanks for your help!
Comments
it doesn't compile because of - array [1:2] -
in pascal it would be written as - array [1..2] -
hope this helps, know its late
Actual answer is "Microsoft Pascal". It support Object Pascal, thus A is Point to B, which is a Record. However, they supported ":" (colon) as your range separator.
Ozz
author: ModernPascal (dot) com