Apparent problem with malloc(3F)

Brian Bliss bliss at sp64.csrd.uiuc.edu
Sat Oct 27 09:10:00 AEST 1990


>       pointer (p,v(1,1))

try 	pointer (p,v(10,10))


if v is dimensioned to v(1,*), then v(1,3) is the same memory location as
v(2,2), and v(1,2) is the same memory location as v(2,1), when not
checking for dimension bound overflow.  Not that i've ever seen or used
the FORTRAN pointer construct.

bb



More information about the Comp.sys.sun mailing list