next up previous
Next: Variables Up: CS101 Lecture 8 Previous: Fortran Language Features

Fortran Source Form

     PrOgRam  DeMO1        program demo2         PROGRAM demo3
    ! comment line           !COMMENT                 !coMment
     write (*,*) &        Integer :: i,j           write(*,*) 'hello'
        'this line'  &       i = 2; j = i + 1       End program demo3
        'next line'          write (*,*) i+j, i, j
    End PROGRAM demo1     End prorgam demo2



G. Sivakumar 2000-08-16