Beginner fails miserabley at first hurdle 0.05 0.05 [message #10932] |
Tue, 03 February 1998 00:00 |
clovis21
Messages: 4 Registered: February 1998
|
Junior Member |
|
|
Hello all, I'm just starting, but I've come unstuck already. I'm
trying to write a for .. do begin line, but I can't seem to get it to
work:
for i=0, 31 do $
for k=0, 31 do $
for j=0, 255 DO BEGIN
real_b(i, k, j)=b(i, k, 2*j)
imag_b(i, k, j)=b(i, k, (2*j)+1)
print, i, k, j
endfor
In desperation I've tried the following:
for i=1, 100 do begin
print, i
endfor
and all that happens is that I get 101 printed, then a syntax error on
the 'n' of endfor. What have I done wrong?
Martin
--
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
|
|
|