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

Home » Public Forums » archive » Re: SAVE again
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: SAVE again [message #71022 is a reply to message #71021] Tue, 25 May 2010 17:45 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On May 25, 9:05 pm, fgg <fabioguimaraesgoncal...@gmail.com> wrote:
> Is it possible to simplify this line:
>
> save, v1, v2, v3, v4, v5,...,v100, filename = 'xxx..sav'
>
> by using something like this:
>
> for j=1,100 do print, 'v'+strtrim(string(j),1)+','
>
> ... so I don't have to write down "v" a hundred times?

Possible, yes. But that is not your problem. Your code really should
not have 100 variables called vxxx. It is a nightmare to read and to
edit.

Why don't you put all that stuff into a single array?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: rotate tickname and titles
Next Topic: Re: Matching data in different time resolution

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

Current Time: Wed Oct 08 19:17:53 PDT 2025

Total time taken to generate the page: 0.00433 seconds