How to output a 2 column array

bt96's icon

Hi
So I have a .txt file that is 57 rows by 2 columns, and I use read to store the file into a text object. The data would look like this:
100 314
456 789
23 78
...
I want to output each of the numbers in each line to separate integer objects but I can only output the first value of each line and can't seem to output the 2nd value on each line. How can I output both values on each line simultaneously to different int objects?

davidestevens's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Like this?

bt96's icon

Hmm, I'm not sure what to do with it after new from clipboard and it shows up as text

bt96's icon

Oh wait, I got it to work, let me see

bt96's icon

Hmm, it doesn't work, but I got it to work with a simpler random data set. It seems then that it's a problem with my data

bt96's icon

Ok I figured it out, thanks!