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

Home » Public Forums » archive » long subscript...
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
long subscript... [message #53694] Wed, 25 April 2007 12:17
kostis is currently offline  kostis
Messages: 17
Registered: December 2006
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: newbie's question for writing files
Next Topic: long subscript...

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

Current Time: Wed Oct 08 19:27:06 PDT 2025

Total time taken to generate the page: 0.00556 seconds