For Programmers: Free Programming Magazines  


Home > Archive > Fortran > June 2005 > SGI: What is this END, puzzled









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SGI: What is this END, puzzled
clusardi2k@aol.com

2005-06-07, 8:58 pm

Hello,

I was looking at my code and I have a write like this:
write(*,*)END(IVAR)

I couldn't find a end function or subroutine in the program.

Does anyone know what the definition is?

I went into the debugger at when I step into the end, do a
control C, and do a where it tells me I'm in lio.c which I can't
find on my system.

Thank you,
Christopher Lusardi

beliavsky@aol.com

2005-06-07, 8:58 pm

clusardi2k@aol.com wrote:
> Hello,
>
> I was looking at my code and I have a write like this:
> write(*,*)END(IVAR)
>
> I couldn't find a end function or subroutine in the program.


If END were a subroutine, the above statment would not be proper
Fortran. Is END an array defined in the code? Or is the function END
defined in a separate file? Usually in Fortran END terminates a program
or procedure.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com