What kind of Pascal dialect is this?


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; 

The file doesn't compile with fpc, what kind of dialect of Pascal may it be?

Thanks for your help!


  • 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.

    author: ModernPascal (dot) com

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!