Silverfrost Forums

Welcome to our forums

problems with ancient integer*2

2 Dec 2010 7:44 #7197

Hello, I know - nobody like it but: subroutine test INTEGER2 kterm(6) & /'= ', '+ ', '- ', '. ', ', ', ' '/ & , mrec1(6) /61/ INTEGER2 mrec2(6) /61/ end give problems like Compiling file: FixedFormat1.for . \\tsclient\C\msys\1.0\home\warning\FixedFormat1.FOR(4) : error 281 - Not enough variables in DATA statement \\tsclient\C\msys\1.0\home\warning\FixedFormat1.FOR(4) : error 52 - Compilation abandoned Compilation failed.

Why I cannot mixe the both declarations/data statements. If I split them - no problems.

Thanks Dietmar

4 Dec 2010 11:18 #7204

My guess is that this is not standard Fortran (of any vintage). Maybe its a VAX extension that never got into FTN77 nor FTN95.

Please login to reply.