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

Home » Public Forums » archive » How to declare a constant variable?
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
How to declare a constant variable? [message #56269] Mon, 08 October 2007 20:00
mystea is currently offline  mystea
Messages: 16
Registered: October 2007
Junior Member
Hi all,

I would like to define some variables that I expect as a constant. I
realize that I can declare it as a system variable as follows:

defsysv, !var1=(some value), 1

However, this inevitably make my variable accessible to the whole
program. What should I do if I need a constant, local scope variable?

Gene
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: moving to objects / IDL objects and object graphics
Next Topic: How to locate a "NaN"?

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

Current Time: Fri Oct 10 16:09:16 PDT 2025

Total time taken to generate the page: 0.95617 seconds