(j3.2006) Question about co-arrays
Aleksandar Donev
donev1
Fri Feb 9 12:30:19 EST 2007
On Thursday 08 February 2007 21:57, Andy Vaught wrote:
> The problem can also be solved by calling a C subroutine that casts the
> pointer to an integer.
No it cannot, since %p is an "implementation-defined" format specifier. Most
importantly, if I want to use an integer I need an unsigned integer. Negative
addresses don't make that much sense to me. Maybe with the new BITS features
I can get this.
> ? You just want new language features to solve a trivial problem that is
> soluable in *multiple* other ways.
The "feature" is trivial. It is more work for implementors to prohibit C_PTR
in I/O than to allow it....after all, "implementation dependent" means they
can simply print a blank character if they are really that lazy.
Telling people to use horrid things like TRANSFER to do a simple task is,
well, horrid...IMO, of course.
Aleks
More information about the J3
mailing list