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

Home » Public Forums » archive » Re: Commons, Was: can i place a job advert
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: Commons, Was: can i place a job advert [message #28189] Tue, 27 November 2001 02:45 Go to previous message
Martin Downing is currently offline  Martin Downing
Messages: 136
Registered: September 1998
Senior Member
"Richard Younger" <younger@ll.mit.edu> wrote in message
news:3C02E9A8.F29A4C7B@ll.mit.edu...
> "Pavel A. Romashkin" wrote:
>>
>> This topic is irresistable.
>> How about we issue a Challenge:
>>
>> Please modify the object definition below or create a method for objects
>> to be aware of each other after creation:
>
> Let the testing begin!
>
> Well, I can do it with a system variable (see below) but this has all of
> the disadvantages of the common block, including namespace issues.

I would say system variables have far more disadvantages. Any system
variable can be listed and changed by the user and so is very much public.
whereas a common block can be hidden with such a criptic identifier that it
will only be accessible by the developers object code or to an outright
hacker! Used in that sense common blocks extend the power of IDL immensely
(IMHO).

Pinching some code from automaticaly generated C++ header file which needs a
unique identifier that will not clash with any other namespace:

COMMON _MY_OBJECT_COMMON__B32EE283_F153_11D4_8E3A_0080AD7D5B20__,
a_very_hidden_variable

who would manage to copy that!!

Martin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Translate simple syntax from Matlab into IDL
Next Topic: Teaching material

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

Current Time: Wed Oct 08 18:35:27 PDT 2025

Total time taken to generate the page: 0.00378 seconds