define variable array1 as integer extent 10.<br>
define variable i as integer initial 1.<br>
<br>
do i = 1 to extent(array1):<br>
set array1 = i.<br>
display i.<br>
display array1.<br>
end.<br>
<br>
when i run this all i get is <br>
<br>
i array1<br>
____ _____<br>
10 10<br>
<br>
why won't it display all of the elements? i'm used to c++. this makes no sense to me.<br>
<br>
thanks in advance,<br>
bobbie "in chicago"
define variable i as integer initial 1.<br>
<br>
do i = 1 to extent(array1):<br>
set array1 = i.<br>
display i.<br>
display array1.<br>
end.<br>
<br>
when i run this all i get is <br>
<br>
i array1<br>
____ _____<br>
10 10<br>
<br>
why won't it display all of the elements? i'm used to c++. this makes no sense to me.<br>
<br>
thanks in advance,<br>
bobbie "in chicago"