Re: Data management... but Execution halts!!! T.T [message #51292] |
Wed, 15 November 2006 07:50  |
Maarten[1]
Messages: 176 Registered: November 2005
|
Senior Member |
|
|
greg michael wrote:
> The problem with read_ascii is the template. If your file has anything
> other than a trivial format (as this one does) - i.e. a header of some
> sort, or mixed types, you need to use a template. And you can't
> (reasonably) generate this programmatically, but only via the
> ascii_template GUI function. Try it, then you'll want to learn the
> other way...
Nah, use it once, use 'help, /structure, template' to figure out what
the
returned struct looks like, and then put that struct in your code.
Works
like a charm.
There are some formats that require more coding, but read_ascii() with
ascii_template() _once_ isn't too bad.
Maarten
|
|
|