get the information from a column of text

October 26, 2011 at 12:15:53
Specs: Win 7 Ultimate , 4.17Ghz 8GB ram
I have a machine that outputs this

4.480, 16.5
4.480, 16.6
4.480, 16.7
4.480, 16.8
4.480, 16.9
4.480, 17.1
4.480, 17.2

left column is pounds and right column is time in seconds

is there a way to get how many there are in the first column and then echo them to a text file?

I appreciate any input


See More: get the information from a column of text

Report •


#1
October 26, 2011 at 13:20:12
How many? Do you mean how many entries or the total weight of the entries or both?

Echo them? What is them?


Please come back & tell us if your problem is resolved.


Report •

#2
October 26, 2011 at 13:27:39
it depends on how long the test runs thats my issue.

and i would prefer to turn them into a variable if possible?


Report •

#3
October 26, 2011 at 15:09:14
OK, I'll try to break down my queries:

1. You said is there a way to get how many there are in the first column and then echo them to a text file?

2. I responded How many? Do you mean how many entries or the total weight of the entries or both?
Echo them? What is them?
because I don't understand if you want to determine the number of entries or the total weight by adding the weights. I also don't understand what it is you want echoed to a text file.

3. You replied with it depends on how long the test runs thats my issue.
and i would prefer to turn them into a variable if possible?
Which doesn't really answer either of my queries. WHAT depends on how long the test runs. I do not understand WHAT you want turned into a variable.

Yes, I'm dumb!!


Please come back & tell us if your problem is resolved.


Report •

Related Solutions

#4
October 27, 2011 at 08:26:24
Im sorry i should have been more clear.
I was thinking if we could echo them to a text file i could find out how many there are and then turn them into variables. But that seems like a longer process than what it needs to be

Basically I need to know how many there are so I can find the average. Also the highest number and the lowest number.


Report •

#5
October 27, 2011 at 10:06:43
I should delete one of these threads to consolidate the conversation. I won't, but I should point out he mentions the solution would need to work in Win95. Any batch file needs to be MS-DOS 7 compatible.

How To Ask Questions The Smart Way


Report •

#6
October 27, 2011 at 14:10:44
OMG -thank you Razor, I'll exist stage left.


Please come back & tell us if your problem is resolved.


Report •


Ask Question