lawochekel
Instructor
- Dec 13, 2011
- 1
hi all, i tried to run a fortran program and i got this error message below;
C:\g77>g77 program001..f
program001..f:1:
PROGRAM 001
^
Invalid first character at (^) [info -f g77 M LEX]
program001..f:5:
IMPLICIT NONE
^
Invalid first character at (^) [info -f g77 M LEX]
program001..f:8:
PRINT *,' Type in your first name.'
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:9:
PRINT *,' up to 20 characters'
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:10:
READ *, First_Name
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:11:
PRINT *, First_Name
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:14:
END PROGRAM 001
^
Invalid first character at (^) [info -f g77 M LEX]
pls what am i suppose to do?
thanks
C:\g77>g77 program001..f
program001..f:1:
PROGRAM 001
^
Invalid first character at (^) [info -f g77 M LEX]
program001..f:5:
IMPLICIT NONE
^
Invalid first character at (^) [info -f g77 M LEX]
program001..f:8:
PRINT *,' Type in your first name.'
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:9:
PRINT *,' up to 20 characters'
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:10:
READ *, First_Name
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:11:
PRINT *, First_Name
^
Non-numeric character at (^) in label field [info -f g77 M LEX]
program001..f:14:
END PROGRAM 001
^
Invalid first character at (^) [info -f g77 M LEX]
pls what am i suppose to do?
thanks