comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Still can't understant this language!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Still can't understant this language! [message #12343] Mon, 20 July 1998 00:00
clovis21 is currently offline  clovis21
Messages: 4
Registered: February 1998
Junior Member
Hello again,

I'm stuck again with IDL (version 4). Having bought David's book, I discovered
my data was different to his, so I thought I'd have az quick look through the
data to see which sets were which. I thought this would do it:


for i=0, 50 do begin &$
print, i &$
test_val=loaddata(i) &$
help, test_val &$
endfor

(entered at the command line)
instead I get stuck in an infinite loop which effectively trashed the session.

this _does_ work, however:

for i=0, 50 do begin &$
print, i &$
j=i &$
test_val=loaddata(j) &$
help, testval &$
endfor

anyone have any ideas why?

Thanks,

martin

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL/v5 to /v4 converter
Next Topic: Re: idl-mode for Emacs?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 06:26:32 PDT 2025

Total time taken to generate the page: 0.96062 seconds