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 #6471] Mon, 01 July 1996 00:00 Go to previous message
offenbrg is currently offline  offenbrg
Messages: 31
Registered: August 1993
Member
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> help,/STRUCTURE, !version
** Structure !VERSION, 4 tags, length=32:
ARCH STRING 'sparc'
OS STRING 'sunos'
OS_FAMILY STRING 'unix'
RELEASE STRING '4.0.1'

-Joel
--
"...And I am unanimous in this" - Mrs. Slocumbe
------------------------------------------------------------ ----------
| Joel D Offenberg | offenbrg@fondue.gsfc.nasa.gov |
| Hughes STX, NASA/GSFC/LASP | UIT Sci team & COBE Unix SysAdm |
[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 08:45:22 PDT 2025

Total time taken to generate the page: 0.92332 seconds