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

Home » Public Forums » archive » Re: accessing 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: accessing structures [message #6476 is a reply to message #6475] Sun, 30 June 1996 00:00 Go to previous message
pit is currently offline  pit
Messages: 92
Registered: January 1996
Member
In article <4r48vn$jpu@lace.colorado.edu>,
kachun@bogart.Colorado.EDU (Ka Chun Yu) writes:
> My question is then how would I pull out what I need to know from
> !version if I didn't know the names for the individual components
> (i.e., "!version.arch", "!version.os")? Is there a command that
> can pull out what I need, like this example below?
>
> IDL> print,MYSTERY_COMMAND(!version,0)
> sparc

IDL> print,tag_names(!version)
ARCH OS OS_FAMILY RELEASE

Peter


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Peter "Pit" Suetterlin http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048 pit@uni-sw.gwdg.de
-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars! http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V. Tel.: +49 761 278588
____________________________________________________________ ______________
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: save/restore file format
Next Topic: Simple MODULO question.

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

Current Time: Sun Oct 12 11:12:51 PDT 2025

Total time taken to generate the page: 1.99578 seconds