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 #28193 is a reply to message #28189] Tue, 27 November 2001 01:21 Go to previous messageGo to previous message
Heike Koch-Beuttenmue is currently offline  Heike Koch-Beuttenmue
Messages: 6
Registered: October 1999
Junior Member
Martin Downing wrote:
>
> Well I've removed all the graphics stuff -I havent got a clue what that was
> about and you can add what you like later!
> My solution is to link all objects as a singly linked list which has its
> head pointer (named objTop in this code)
> stored using a COMMON BLOCK so that it is visible to all object instances.
> This could be considered a static object
> member instance, rather like you can find in some C++ Classes. In C++ these
> beasts have only one value but are visible from all instances of the class -
> incredibly useful for stacks.
> Ok so strictly the variable is not private to the class, but it takes
> someone daft enough to copy the
> COMMON identifier: "__TEST_PRIVATE_STATIC_MEMBERS" elsewhere to access the
> pointer!
> I think this is a very reasonable use of common blocks, but I await to see
> alternatives.
>
> cheers
>
> Martin
>
Can anybody explain me, why this mixture of using Common Blocks and
Objects is possible? (Fortran and C++?)

Heike
[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: Fri Oct 10 16:23:41 PDT 2025

Total time taken to generate the page: 1.27925 seconds