error S0034 : Syntax error at or near end of line

Hello all:

I’m reviving an old and “odd” code that originated in late 70’s era trying it out with the new generation of new Fortran compilers like PGI’s VF on a 2010 Visual Studio IDE. My issue is continuation line in the COMMON block specification - after many cut and tries (and searches) just can’t figure it out? Tried out ampersand “&” also column 6 blanks I actually put them all together on a very long single line removing the dots - it took out this error but my code on that line looks like a mile long to read - I need some way of continuation of line that works.

I hope the readers could shed some light and some help.

Here is a code snippet:

COMMON/PLACOM/
. NUMB , CHARGE, XMASS , SCCH , ISTART, QM , NTYPES, NNX ,
. NNY , FLNNX , DT , ISTEPS, ISTP , NUMBIN, TOTCH , PFACT ,
. NR1 , NR2 , NR3 , NR4 , NR5 , NR6 , NR7 , NR8 ,
. NR9 , NR10 , NR11 , NR12 , NR13 , NR14 , NR15 , NR16 ,
. NR17 , NR18 , NR19 , NR20 , NR21 , NR22 , NR23 , NR24 ,
. NR25 , NUMCH , MKPART, ITEST , NWPP , ITP , IRO2 , IRO3 ,
. CHFACT, NCORE , NTMAX , ELPROD, PVX , PVY , IPCELL, IDCARD,
. IPIC , K1FST , EPITAX, EPIDOP, JTEST , EPSLON, AKXFAC, AKYFAC,
. EXFACT, EYFACT, HXCELL, HYCELL, NCASE , NSPY , IOUT ,
. NR26 , NR27 , NR28 , NR29 , NR30 , NR31 , NR32 , NR33 ,
. NR34 , NR35 , NKLIM

and here is what PGI VF complains below:
Compiling Project …
…\mntcrl.f
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(19) : error S0034 : Syntax error at or near end of line
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(20) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(21) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(22) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(23) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(24) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(25) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(26) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(27) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(28) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(29) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(30) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(32) : error S0034 : Syntax error at or near end of line
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(33) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(34) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(35) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(39) : error S0034 : Syntax error at or near end of line
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(40) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(41) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(43) : error S0034 : Syntax error at or near end of line
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(44) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(45) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(46) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(47) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(48) : error S0034 : Syntax error at or near .
C:\Users\BB\documents\visual studio 2010\Projects\Transi100\mntcrl.f(48) : error F0008 : Error limit exceeded
PGF90/x86 Windows 12.10-0: compilation aborted
Transi100 build failed.
Build log was saved at “file://C:\Users\BB\documents\visual studio 2010\Projects\Transi100\Transi100\Win32\Release\BuildLog.htm”

Instead of making shots in the dark, the proper way to address this rather basic problem is to read any basic Fortran text/manual concerning fixed format text. Briefly,

(i) check that COMMON starts in column 7 and that the line does not extend beyond column 72.

(ii) check that all continuation marks, whether an ampersand, period or other approved character, are in column 6.

(iii) to avoid trouble, do not insert any TAB characters into the source code.