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

Home » Public Forums » archive » Defining IDL structures given variable type, width and precision
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
Defining IDL structures given variable type, width and precision [message #54078] Wed, 16 May 2007 16:57
Jonathan Greenberg is currently offline  Jonathan Greenberg
Messages: 91
Registered: November 2002
Member
Is there a trick to defining an IDL structure with the appropriate
variable types given that type, width and precision of each variable?
I am extracting data from a .dbf file, then using the envi_write_dbf
command to basically copy the dbf file, but I'm running into problems
with a string field in the original DBF that appears to be longer than
simply assigning that field during the create_struct portion to be '',
e.g.

structure=create_struct(structurename:'') <- how would I assign that
if I know the type is "7" (string), width=43, precision=0
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: position matching
Next Topic: exposing variables to higher program levels

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

Current Time: Tue Dec 02 12:47:54 PST 2025

Total time taken to generate the page: 0.00197 seconds