source:
XMLIO_V2/tools/FCM/test/repos/add_subroutine/hello.F90
@
81
Last change on this file since 81 was 81, checked in by ymipsl, 15 years ago | |
---|---|
File size: 367 bytes |
Line | |
---|---|
1 | PROGRAM Hello |
2 | |
3 | USE Hello_Constants, ONLY: hello_string |
4 | |
5 | IMPLICIT NONE |
6 | |
7 | #if defined(CALL_HELLO_SUB) |
8 | INCLUDE 'hello_sub.interface' |
9 | #endif |
10 | INCLUDE 'hello_sub2.interface' |
11 | |
12 | CHARACTER (LEN=*), PARAMETER :: this = 'Hello' |
13 | |
14 | WRITE (*, '(A)') this // ': ' // TRIM (hello_string) |
15 | #if defined(CALL_HELLO_SUB) |
16 | CALL Hello_Sub (HUGE(0)) |
17 | #endif |
18 | CALL Hello_Sub2 () |
19 | |
20 | END PROGRAM Hello |
Note: See TracBrowser
for help on using the repository browser.