CompuServe Messages

#MODULA-2

    01-Jan-87 19:52:10
Sb: #MODULA-2
Fm: Michael St. Laurent 72017,235
To: TDI Software or anybody
I can't figure out why this won't compile. Am I doing something wrong or is there a bug in the compiler? The books on MODULA-2 that I have read say that this should work. MODULE Test (* Test the open array as a parameter *) VAR testone : ARRAY [0..9] OF CHAR; PROCEDURE Assign (VAR testone: ARRAY OF CHAR); VAR testtwo : ARRAY [0..9] OF CHAR; BEGIN testone := testtwo; END Assign; BEGIN Assign(testone); END Test. I have also tried declaring a type and using it for both variables, but it still gave me a "Type incompatibility" error. Also, is there a way to declare this constant: ARRAY [0..12] OF ARRAY [0..9] OF CHAR; It works in Turbo Pascal… is there a way to fake it in MODULA?