Since 4/14/2012 3:51:11 AM, ian_harvey has written 6 articles and participated in 211 conversations. ian_harvey signature: ian_harvey
ian_harvey's articles:
Items(6) /1
Variables that are function references1142 (2/27/2012 1:29:02 AM) comp.lang.fortran In F2008, a variable can be a function reference, if that function has a data pointer result. Does that function reference need to be of the classic /function-reference/ form (something like "function_name(a... Ian
Fundamental lexical tokens and format specifications1234 (11/16/2011 12:14:14 PM) comp.lang.fortran Clause 3.2 of F2008 (similar words are in previous standards) describes the "fundamental lexical tokens of a program unit". How do those relate to the bits and pieces inside the format specification of a for... Ian
Structure constructors240 (5/23/2011 11:37:37 PM) comp.lang.fortran This is a follow on from something in the Intel forum for their Fortran compiler for windows. Where/How in the normative part of the standard does it say that something that looks like a valid structure cons... Ian
Pointers in structure constructors324 (11/8/2009 9:31:34 AM) comp.lang.fortran Consider a type that has a pointer component and one or more private components, defined in the specification part of a module: TYPE a_type INTEGER, POINTER :: dataptr INTEGER, PRIVATE :: privcomp END TY... Ian
Strings ?3867 (8/22/2012 3:41:59 PM) comp.lang.fortran I have:
character(10), parameter :: s = "gfortran "
character :: s2(20)
s2(1:len(s)) = s(1:len(s))
This fails!
character(10), parameter :: s = "gfortran "
character(20) :: s2
s2(1... john.chludzinski(61)
Function questions?6669 (8/26/2012 7:57:35 PM) comp.lang.fortran A) Is there an analog to C's return statement?
e.g., "return 3.14159;"
B) Which is preferred/most current:
1) adding "result(...)" onto the end of the function declaration or
2) assigning the fu... john.chludzinski(61)
binary data #27295 (8/30/2012 9:40:13 AM) comp.lang.fortran Hi!
My dosimeters provide data ASCII data-files, providing the data in 16-bit h=
exadecimal words. Reading in these words goes well. I declared them as foll=
ows:
CHARACTER(4) :: MyWord
In SOME ca... arjan.van.dijk(248)
Memory problem with linked list1366 (9/3/2012 8:51:15 PM) comp.lang.fortran Hi,
I asked a question some days ago about RAM and linked list on stackoverflow, I did have no answer so I make an attempt here.
The subject is the implementation of a linked list found in fortran wiki. W... sphgroup.insean(4)
Polymorphism and allocatables427 (9/6/2012 7:10:54 AM) comp.lang.fortran Getting slowly used to work with polymorphism in F2003, I would like to
do the following:
1) Store some object in a polymorphic container
2) retrieve it later
without actually copying it, i.e., just mo... seesig3208(122)
Attribute for unused dummy arguments1358 (9/13/2012 8:36:09 AM) comp.lang.fortran What about an attribute that asserts that a dummy argument is unused by
a procedure? (I apologize if this has been discussed before.)
Reason:
1) A procedure interface may be predefined or shared by seve... seesig3208(122)
Conversions between different character kinds?846 (9/13/2012 9:53:49 PM) comp.lang.fortran Hello all,
while assignment between character variables of different kinds
is performed transparently in Fortran 2003, I am not aware of any
functions for explicit conversions between these types. I find ... anlauf.2008(29)
Single element of MATMUL result?281 (9/25/2012 9:03:30 PM) comp.lang.fortran A is an NxN matrix, and x is a N-vector. Is there a simple way to get a single i-th element, a, of Ax? What I am doing now is
REAL, DIMENSION(123) :: bVector
bVector = MATMUL(A, x)
a = bVector(i)
but th... ols6000(18)