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

Home » Public Forums » archive » using an unlnown number of keywords
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
using an unlnown number of keywords [message #27414] Fri, 19 October 2001 15:06
Sean Raffuse is currently offline  Sean Raffuse
Messages: 46
Registered: July 2001
Member
Hello.

I'm trying to write a more or less universal procedure that takes a data
structure and prints the variables out one by one one a line in an ascii
file. The problem is that the structure could have any number of variables.
I want to do this:

printf, lun, structure.var1, structure.var2, structure.var3, . . .,
structure.varN

If I know N, is there a way to do this without resorting to N cases?

Thanks in advance,

Sean Raffuse
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Performance of a loop
Next Topic: data type determination in a file

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

Current Time: Fri Oct 10 06:02:52 PDT 2025

Total time taken to generate the page: 0.64125 seconds