Fortran aliasing2640 (5/31/2012 3:41:16 AM) The following program demonstrates a problem I found a few weeks ago.
SUBROUTINE SUBR(B, C)
DIMENSION B(10), C(5)
DO 10 I = 1, 10
B(I) = 2.0
10 CONTINUE
END
... robert.corbett(96)
procedure as optional argument?1964 (5/31/2012 8:27:23 AM) I've never had occasion to use this until now, and don't recall seeing
any examples. My guess is that a procedure dummy argument can be
optional just like any other. How would this be declared? A
hand-wri... helbig(4870)
Is passing a RESHAPEd array to an intent(out) arg legal?647 (5/31/2012 1:44:35 PM)
Hello.
Say I have
subroutine cache_add(data_to_add, n_data)
integer, intent(in) :: n_data
integer, intent(in) :: data_to_add
! ... store data_to_add(1:n_data) somewhere
end subroutine
... jack.erede(27)
Intel Fortran - I/O handling of NaN089 (5/31/2012 11:23:32 AM) I have a problem with a change of behaviour in the handling of NaN values.
The problem is=85
read( unit=3D iFile, fmt=3D "(A)", iostat=3D iErr ) Data_string
where Data_string is a comma delimited record ... johnharwood(6)
interface in a module function227 (5/30/2012 9:30:29 PM) I suspect I am missing something important.
In the following (simplified) code I have a function, fun, which has a
function f among its dummy arguments. In order to have the compiler
checking for consist... pastgio1(24)
FORALL syntax655 (5/16/2012 12:31:39 PM) I have recently worked bit with high rank arrays that are structured in way=
s which makes it pretty straight forward to define them with FORALL stateme=
nts.
FORALL( i=3Da:b, j=3Dc:d ) T(i,j) =3D =85
I... sykledust(3)
Test suite, nightly regressions, and the "catch" statement1744 (5/15/2012 5:43:19 PM) Hi all,
After some years doing different stuff, I'm back again to my old coding way=
s (looks like it's "once a programmer, forever a programmer" :) Now I'm wor=
king in a big multinational company, and th... deltaquattro(202)