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 #53684 is a reply to message #53678] Thu, 26 April 2007 02:24 Go to previous messageGo to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Apr 25, 7: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?

either use 100L, or add
compile_opt defint32, strictarr, strictarrsubs
to the start of each function or procedure. You can execute this
command on the command line to have the same effect on interactive
usage. Before you ask, no, there is no equivalent to get all floats to
be double precision numbers.

Maarten
[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 15:12:53 PDT 2025

Total time taken to generate the page: 0.80135 seconds