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

Home » Public Forums » archive » Re: "private" and "public" attributes in IDL.
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: "private" and "public" attributes in IDL. [message #26329] Thu, 23 August 2001 07:21 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Martin Schultz wrote:
>
> JD Smith <jdsmith@astro.cornell.edu> writes:
>
>>>
>>> JD Smith wrote:
>>>>
>> ... and I for one have pined for a native method
>> within IDL to allow this. This does not mean, however, that allowing
>> such carte blanche access is always good idea. Typically, a *small*
>> subset of a class' data fields are useful and stable for public
>> consumption.
>>
>> JD
>
> Wouldn't it be lovely, had the folks at RSI thought about a "public" and "private"
> attribute for object fields?

I don't use objects alot (but I'm working on it on the weekends) but your above statement
is totally absolutely true. It would've be lovely - even for object-challenged folk like
myself. The public and private attribute in fortran 90 (for entire modules, individual
variables, structure components and/or internal subprograms) is one of the best additions
to that language I reckon.

paulv

p.s. My weekend IDL object tinkerings have certainly improved my Fortran 90 coding
techniques - or at the very least how I approach problems in that domain - that's fer
sure. And I can write my "get_properties" methods to do whatever I like. :o)

--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
Alexander Pope.
[Message index]
 
Read Message
Read Message
Previous Topic: Question/Bug on Transpose
Next Topic: Re: Object Graphics: Black Box

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

Current Time: Sat Oct 11 08:43:13 PDT 2025

Total time taken to generate the page: 1.19889 seconds