sebastian11986
Programmer
Hi there,
i work with fortran77 and the nonstandards from 90/95
my code is like this:
integer array(10)
->i filled the array
size(array) ->this works
call test(array)
-------------------------------------
subroutine(arr)
integer arr(*)
size(arr)->does not work in the subroutine and i need the size in the following code of the routine.
of course i could use:
call test(array,size(array))
-----------------------------------
subroutine test(arr,size)
integer array(size)
but i have to use the function a few hundred times, so it would be perfect, if i could get the size in the subroutine and don't have to write "size(array)" in the "test()".
Thanks for your help
Sebastian
i work with fortran77 and the nonstandards from 90/95
my code is like this:
integer array(10)
->i filled the array
size(array) ->this works
call test(array)
-------------------------------------
subroutine(arr)
integer arr(*)
size(arr)->does not work in the subroutine and i need the size in the following code of the routine.
of course i could use:
call test(array,size(array))
-----------------------------------
subroutine test(arr,size)
integer array(size)
but i have to use the function a few hundred times, so it would be perfect, if i could get the size in the subroutine and don't have to write "size(array)" in the "test()".
Thanks for your help
Sebastian