On Mon, Dec 31, 2012 at 01:17:04PM +0100, Tobias Burnus wrote: > The attached patch adds a new - internal only - intrinsic, STRIDE, which > returns the stride of an array with array descriptor; for an "integer :: > array(5,5)", the stride of dim=2 is 5. > > This new intrinsic is only internally available and will be used by the > finalization wrapper to handle noncontiguous arrays. >
What is the plan for when J3 decides to add a STRIDE intrinsic to Fortran20xy, which may have different semantics to what your function does? At a minimum, please consider adding a leading underscore to the function. This will clearly never conflict with a future Fortran standard (unless J3 looses it collected mind). -- Steve