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

Home » Public Forums » archive » Storing values in array after each iteration in for 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
Storing values in array after each iteration in for loop [message #91265] Wed, 24 June 2015 15:44 Go to previous message
kcs4315 is currently offline  kcs4315
Messages: 2
Registered: March 2015
Junior Member
Hi,

I'm very new to IDL....

Essentially what I want to do is after each iteration of a for loop, store the value it produces in an array. I originally tried making the array in the for loop but it was over written every time it went through an iteration, so only the last value was stored and everything else was 0. Is there an easy way to remedy this?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: cgScaleVector and diverging colorbar help
Next Topic: Identifying outliers in data

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

Current Time: Fri Oct 10 08:31:22 PDT 2025

Total time taken to generate the page: 2.16209 seconds