source:
vendors/tutorial/trunk-r1/src/module/hello_num.f90
@
10669
Last change on this file since 10669 was 10669, checked in by nicolasmartin, 6 years ago | |
---|---|
File size: 355 bytes |
Line | |
---|---|
1 | MODULE hello_number |
2 | |
3 | IMPLICIT NONE |
4 | |
5 | PRIVATE |
6 | INTEGER, PARAMETER :: i=0 |
7 | INTEGER, PARAMETER :: huge_number=HUGE(i) |
8 | |
9 | PUBLIC hello_huge_number |
10 | |
11 | CONTAINS |
12 | SUBROUTINE hello_huge_number() |
13 | CHARACTER(LEN=*), PARAMETER :: this='hello_huge_number' |
14 | WRITE(*, '(A,I0)') this // ': maximum integer: ', huge_number |
15 | END SUBROUTINE hello_huge_number |
16 | |
17 | END MODULE hello_number |
Note: See TracBrowser
for help on using the repository browser.