What kind of Pascal dialect is this? - Programmers Heaven

Howdy, Stranger!

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


What kind of Pascal dialect is this?

yara2yara2 Posts: 0Member


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!


  • PaulNPaulN USPosts: 1Member

    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

  • ozznixonozznixon USAPosts: 1Member

    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.