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

Home » Public Forums » archive » Re: long subscript...
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: long subscript... [message #53678 is a reply to message #53674] Thu, 26 April 2007 07:59 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Apr 25, 2:29 pm, kostis <kostis...@gmail.com> wrote:
> In the following code j is defined as a 'long' number...
> But the number j*100 as a subscript of x in plots command is not a
> 'long' number...
> causing a problem when the limit is reached..
> How do i fix it??
> How do i define all numbers long?
>
> n=100000L
> x=findgen(n)
> y=findgen(n)
> z=findgen(n)
> XInterAnimate, set=[500,500,999]
> for j=1L,998L do begin
> plots, x((j-1)*100:j*100), y((j-1)*100:j*100),
> z((j-1)*100:j*100),/T3D,/DATA
> XInterAnimate, Frame=j
> endfor
> XInterAnimate
>
> Thanx a lot

j*100 is long for me? I'd just replace the () with [] when indicating
subscripts.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: hist_nd to place just one point on a grid
Next Topic: tiff to eps

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

Current Time: Sat Oct 11 18:00:16 PDT 2025

Total time taken to generate the page: 1.12306 seconds