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

Home » Public Forums » archive » do loop
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: do loop [message #93047 is a reply to message #93046] Fri, 15 April 2016 07:01 Go to previous messageGo to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
Don't try to put the indices in the variable name - you'll regret it. Do this instead:

col=reform(dep[0,0:499],50,10)

then you can access your 'col1' with col[*,0], 'col11' with col[*,1] etc.

Otherwise your next question will be "How do I loop through col1, col11...?"

See previous post... https://groups.google.com/forum/?hl=en#!topic/comp.lang.idl- pvwave/XNn-lBi9DGQ

cheers,
greg
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Bootstrap analysis in IDL
Next Topic: running script

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

Current Time: Wed Oct 08 20:08:58 PDT 2025

Total time taken to generate the page: 0.78612 seconds