This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/share/CodeBlocks/lexers/lexer_f77.sample

28 lines
479 B
Plaintext
Raw Permalink Normal View History

**
* Sample Fortran (77) preview code
* This is a block comment
**
C
! main foo
program foo
C
implicit none
C
C variable declarations
C
integer i
integer number
double precision total
C
C program code
C
i = 1;
C
do ! a breakpoint is set
write(*,*) 'Counting endless...'
number = i ! active line (during debugging)
total += i ! error line
enddo
C
end