Jan 30, 2007 #1 Lloydone Programmer Jan 17, 2007 41 NZ Hey all, could someone tell me how to read the length of a dimension in an array. Namely say the third dim of : real,dimension(4) :: testarray(4,180,75,2) so that the answer is 75 Regards, Lloyd
Hey all, could someone tell me how to read the length of a dimension in an array. Namely say the third dim of : real,dimension(4) :: testarray(4,180,75,2) so that the answer is 75 Regards, Lloyd
Feb 1, 2007 #2 gummibaer Programmer Jan 5, 2007 394 DE Look up the docs of your compiler for the intrinsic function 'shape'. This is I think what you are looking for. Norbert Upvote 0 Downvote
Look up the docs of your compiler for the intrinsic function 'shape'. This is I think what you are looking for. Norbert
Feb 1, 2007 Thread starter #3 Lloydone Programmer Jan 17, 2007 41 NZ I found the 'size()' function of use here Upvote 0 Downvote