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

Home » Public Forums » archive » Need help ( structures )
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Need help ( structures ) [message #5430] Wed, 20 December 1995 00:00
hegde is currently offline  hegde
Messages: 17
Registered: December 1995
Junior Member
Hi:

I am coming across the following error when initializing a named structure.
Any help in this regard is greatly appreciated.

************************************************************ *******************
eg:
; named structure creation
name1 = { file, name:' ', header_size:0, data_type:0, format:0, $
dim:intarr(3), key:' ' }

; case I ( valid )
name1.dim = [ 10, 20] ; initialized name1.dim() to [ 10, 20, 0 ]

; case II ( results in error )
name2 = { file, name:' ', header_size:0, data_type:0, format:0, $
dim:[10,20], key:' ' }
; results in an error since the member 'dim' expects intarr(3)
************************************************************ ******************

Can anyone help me in making named structures as in case II ?

Thanks in adance.

M. Hegde
hegde@neptune.gsfc.nasa.gov
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Need help ( structures )
Next Topic: 4-bit words

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

Current Time: Wed Oct 08 18:41:49 PDT 2025

Total time taken to generate the page: 0.00573 seconds