From: SMTP%"[log in to unmask]" 20-DEC-1999 17:30:42.62 > DO i = 1, UBOUND(a,1) > DO j = 1,UBOUND(a,2) > > length = UBOUND(a,1) > width = UBOUND(a,2) > DO i = 1, length > DO j = 1, width It seems to me that this should be easy for the compiler to construct itself, through optimisation, from the first example. However, you might want to use explicit array notation instead of do loops. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%