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

Home » Public Forums » archive » Structures:
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: Structures [message #42904 is a reply to message #23873] Wed, 02 March 2005 09:04 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> p.s. As an aside - in this context, this is another reason I like
> Fortran90/95 pointers. The dereferencing is implicit (i.e. no "*" out
> the front) so your accessing code doesn't have to change when you modify
> your structure to use allocatable pointers rather than fixed size
> arrays. E.g. in f95, ss(3)%s(20) gets the same info whether or not the
> "s" component is a fixed size array or a pointer in it's definition.

Same is true of Java. Everything in Java, except the primitive types,
are actually pointers, but those details are hidden from you. In Java
it's even possible to define a multi-dimensional array such the length
of the extra dimensions is variable. :-o

-m
[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
Read Message
Read Message
Read Message
Previous Topic: catch and I/O errors
Next Topic: object widgets

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

Current Time: Wed Oct 08 15:26:36 PDT 2025

Total time taken to generate the page: 0.00460 seconds