line continuation character is not working
0
I have been using fortran 77 for several months and line continuation character doesn't work sometimes. if((b1(j).eq.0d0).and.(b3(j).ne.0d0))then write(22,*) a1(j),a2(j),a3(j),a4(j),a5(j),a6(j),a7(j),a8(j), & a9(j),a10(j),a11(j),a12(j),a13(j),a14(j),a15(j), & b3(j),0.2 else if((b3(j).eq.0d0).and.(b1(j).ne.0d0))then write(22,*) a1(j),a2(j),a3(j),a4(j),a5(j),a6(j),a7(j), & a8(j),a9(j),a10(j),a11(j),a12(j),a13(j), & a14(j),a15(j),b1(j),b2(j) end if This is the code and when I compile it, the compiler says that '&' is a invalid character. What I am really curious is that sometimes it works and sometimes it does not. Probably I have a basic misunderstanding in fortran syntax. final.f:59:72: Error: Expe