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

Home » Public Forums » archive » readf and 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
readf and structures [message #53483] Tue, 10 April 2007 07:17
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
Hi All,

Is there an easy way of printing arrays of structures to a file and
read them in again, without reading the fields separate?

This doesn't work (also tried with specifying formats):

tout={a:0.,b:'name'}
tin={a:0.,b:''}

openw,lun,'c:\test.txt',/get_lun
printf,lun,tout
close,lun
free_lun,lun

openr,lun,'c:\test.txt',/get_lun
readf,lun,tin
close,lun
free_lun,lun
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: basic question about graphic devices
Next Topic: Re: Widget Linking

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

Current Time: Sat Oct 11 02:08:14 PDT 2025

Total time taken to generate the page: 1.28003 seconds