|
You're using the array subscript in the loop control as the first condition. When pos gets to 53, the InputMAD(pos) condition is evaluated at the ENDDO. pos is 53 then, so you get the index error. You might try this: DOW pos < 52 and InputMAD(pos) <> ';' Hope that helps. Donald R. Fisher, III Project Manager Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@xxxxxxxxxxxxx <clip> dow (InputMAD(pos) <> ';') and pos < 52 eval pos = pos + 1 enddo Total dims are 52, so why am I getting an array index error? <clip>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.