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

Home » Public Forums » archive » Re: Help with IDL STructure with variable string parameters to store
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
Re: Help with IDL STructure with variable string parameters to store [message #1542] Mon, 29 November 1993 04:14
ralfu is currently offline  ralfu
Messages: 7
Registered: November 1993
Junior Member
In article <1993Nov26.150338.2503@cs.uah.edu>, vchagant@cs.uah.edu (Venkata Chaganti) writes:
|> % READU: End of file encountered. Unit: 1
|> File: test.dat
|> % Execution halted at XT_PRO <test.pro( 24)> (READU).
|> % Called from $MAIN$ .

|> What is the error I am doing.
|> If some one could help me , i will appriciate

If you make IDL reading into the structure test you made, it wants
to read as much characters as you defined for test. As you wrote
fewer char's to the file, reading afterwards has to give an EOF error.
In your example, if you define

test = {name:'xxxxx',$
number:'xxxxxx',$
city:'xxxxxxxxxx'}

there won't be any error.

--
Ralf Utermann
____________________________________________________________ _________
University of Augsburg (Germany)
Institute of Physics - Theoretical PhysicsI & Computer Center
Memmingerstr.6 "Speaking for me and nobody else"
D-86135 Augsburg Tel.: +49 +821/5977-235
SMTP: Utermann@Uni-Augsburg.DE Fax : 5977-225
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Symbol/data area for IDL procedures and functions
Next Topic: HP DesignJet 650 C

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

Current Time: Wed Oct 08 19:36:00 PDT 2025

Total time taken to generate the page: 0.00610 seconds