- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there anything special about "SIGNAL"? When running the snippet below in debug mode, SIGNAL is always displayed as a prodcedure in the watch window. However, use of modulename :: SIGNAL shows it correctly as the character variable.
(In a mixed-langauge program, I find that when hovering cursor over it if used in a subroutine/program also shows is at as a procedure. I don't see this is Fortran only program.)
This does not seem to happen for other intrinsic function SIN. As I understand SIGNAL is a portability function. I would try to avoid use of such function names but this is coming from a legacy library.
I am using IVF 11.1.035 with VS2005 on Win64 XP.
Sincerely
Abhi
----
Module OM
Implicit None
Character(16) :: SIGNAL, SIN
End Module OM
Module Earth
Use OM
Implicit None
Contains
Subroutine Fire
SIGNAL = 'Water'
End Subroutine Fire
End Module Earth
Program Test
Use Earth
Implicit None
Call Fire
Print *, "Sky."
End Program Test
(In a mixed-langauge program, I find that when hovering cursor over it if used in a subroutine/program also shows is at as a procedure. I don't see this is Fortran only program.)
This does not seem to happen for other intrinsic function SIN. As I understand SIGNAL is a portability function. I would try to avoid use of such function names but this is coming from a legacy library.
I am using IVF 11.1.035 with VS2005 on Win64 XP.
Sincerely
Abhi
----
Module OM
Implicit None
Character(16) :: SIGNAL, SIN
End Module OM
Module Earth
Use OM
Implicit None
Contains
Subroutine Fire
SIGNAL = 'Water'
End Subroutine Fire
End Module Earth
Program Test
Use Earth
Implicit None
Call Fire
Print *, "Sky."
End Program Test
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - we're looking into it. As a workaround, you can watch OM::SIGNAL.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page