How do I continue to another command line?

How do I continue to another command line?

How do I correct the following error?
read(*,'(A)') filename
open(UNIT=lu, FILE=filename, STATUS='OLD', ACTION='READ',&
ISOSTAT=ierror)
C:My DocumentsFortranexer_4least_squares_fit.for(29) : Error: Syntax error, found '&' when expecting one of: * ...
open(UNIT=lu,FILE=filename,STATUS='OLD',ACTION='READ',&

What should I use instead of ?&? if I want to continue on another line?
(Visual Fortran 5.0, FORTRAN f90)

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

The ampersand is valid only for free source format. Make sure you are not using fixed or tab source formats. If your source has a type of .FOR try using .F90 instead.

James

Leave a Comment

Please sign in to add a comment. Not a member? Join today