New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
hello.F90 in vendors/fcm/current/test/repos/add_subroutine – NEMO

source: vendors/fcm/current/test/repos/add_subroutine/hello.F90 @ 1980

Last change on this file since 1980 was 1980, checked in by flavoni, 14 years ago

importing fcm vendor

File size: 367 bytes
Line 
1PROGRAM Hello
2
3USE Hello_Constants, ONLY: hello_string
4
5IMPLICIT NONE
6
7#if defined(CALL_HELLO_SUB)
8INCLUDE 'hello_sub.interface'
9#endif
10INCLUDE 'hello_sub2.interface'
11
12CHARACTER (LEN=*), PARAMETER :: this = 'Hello'
13
14WRITE (*, '(A)') this // ': ' // TRIM (hello_string)
15#if defined(CALL_HELLO_SUB)
16CALL Hello_Sub (HUGE(0))
17#endif
18CALL Hello_Sub2 ()
19
20END PROGRAM Hello
Note: See TracBrowser for help on using the repository browser.