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.add_lines in vendors/test/repos/add_subroutine – NEMO

source: vendors/test/repos/add_subroutine/hello.F90.add_lines @ 10669

Last change on this file since 10669 was 10669, checked in by nicolasmartin, 5 years ago

Import latest FCM release from Github into the repository for testing

File size: 513 bytes
Line 
1PROGRAM Hello
2
3#if !defined(LOCAL_STRING)
4USE Hello_Constants, ONLY: hello_string
5#endif
6
7IMPLICIT NONE
8
9#if defined(LOCAL_STRING)
10CHARACTER (LEN=80), PARAMETER :: hello_string = 'Hello Mother Earth!'
11#endif
12
13INTEGER :: integer_arg = 1234
14
15#if defined(CALL_HELLO_SUB)
16INCLUDE 'hello_sub.interface'
17#endif
18
19! Just a comment line
20
21CHARACTER (LEN=*), PARAMETER :: this = 'Hello'
22
23WRITE (*, '(A)') this // ': ' // TRIM (hello_string)
24#if defined(CALL_HELLO_SUB)
25CALL Hello_Sub (integer_arg)
26#endif
27
28END PROGRAM Hello
Note: See TracBrowser for help on using the repository browser.