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

Home » Public Forums » archive » Default interactive integer type
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
Default interactive integer type [message #35039] Fri, 09 May 2003 06:42
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In a procedure or function the default integer type can be changed from
INT to LONG with

COMPILE_OPT DEFINT32

or

COMPILE_OPT IDL2

Is there any way to change the default integer type for interactive use
or is explicit specification of the type the only solution?

IDL> i = 32
IDL> help, i
I INT = 32
IDL> i = 32L
IDL> help, i
I LONG = 32


Thanks, Ken
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unsupported X Windows visual
Next Topic: widget_control, <slider_id>, maximum=num ???

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

Current Time: Fri Oct 10 01:53:48 PDT 2025

Total time taken to generate the page: 0.79955 seconds