Where to place IMPLICIT NONE
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.fortran Profile…
 Up
Where to place IMPLICIT NONE         


Author: bru
Date: Jan 24, 2007 01:22

Hello,

I have this problem :

PROGRAM TOTO
IMPLICIT NONE

USE MODUL1
USE MODUL2
......

I have a message at compilation telling IMPLICIT NONE is bably placed?

Why? and what can I do?

If I put IMPLICIT NONE at the beginning of every Modules it works!

Thanks for help

Bernard Bru
2 Comments
Re: Where to place IMPLICIT NONE         


Author: Sebastian Hanigk
Date: Jan 24, 2007 01:27

bru writes:

Hello,
> PROGRAM TOTO
> IMPLICIT NONE
>
> USE MODUL1
> USE MODUL2
> ......
>
> I have a message at compilation telling IMPLICIT NONE is bably placed?
>
> Why? and what can I do?
>
> If I put IMPLICIT NONE at the beginning of every Modules it works!

I think I can help here: put the »IMPLICIT NONE« statement directly
below the »USE« statements:
Show full article (0.51Kb)
1 Comment
Re: Where to place IMPLICIT NONE         


Author: bru
Date: Jan 24, 2007 03:25

Sebastian Hanigk wrote:
> bru writes:
>
> Hello,
>
>
>> PROGRAM TOTO
>> IMPLICIT NONE
>>
>> USE MODUL1
>> USE MODUL2
>>......
>>
>> I have a message at compilation telling IMPLICIT NONE is bably placed?
>>
>> Why? and what can I do?
>>
>>If I put IMPLICIT NONE at the beginning of every Modules it works!
>
> ...
Show full article (0.63Kb)
no comments