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

Home » Public Forums » archive » Re: counting elements in files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: counting elements in files [message #6609] Wed, 24 July 1996 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Gideon Z Romm wrote:
> I have a file with a bunch of numbers stored in it, formatted. It looks
> something like this:
> 2555 3456 4567 5678 6789 7890
> 2345 6788 3445 6778 8899 9900
> ..
> ..
> ..
>
> I am having trouble finding a procedure that will count the number of
> elements in this file, so that when I create an array into which to read
> this file, I will know what size to make the array.

Get Fred Knight's DDREAD procedure. You can grab his user library from

ftp://ftp.rsinc.com/pub/user_contrib/knight

It will handle this data file no problem.

(Ray, this is getting to be a FAQ - I know I've answered it at least 3 times).

Cheers,
Liam.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Foreign fonts and map boundary problems in IDL
Next Topic: MacPPC IDL 4.0: TYLCT bug?

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

Current Time: Fri Oct 10 21:24:55 PDT 2025

Total time taken to generate the page: 0.23879 seconds