Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Passing more than one argument to a function with map' topicStudent Support Forum > General > "Passing more than one argument to a function with map"

Next Comment >Help | Reply To Topic
Author Comment/Response
Buz Barstow
10/17/00 11:59am

I'm using the ReadList function to read data from an input stream and turn it into a list of numbers. For instance,

ReadList[InputStream[String,28], Number]

Produces a list of numbers that were originally separated by spaces in the input stream. I want to do this operation on a long list of input streams. My first thought was to map this list onto ReadList like so,

ReadList/@inputStreamList

Unfortunately, if I do it this way then I can't enter the Number argument into ReadList.

How can I do this?

Thanks in advance,

Buz

URL: ,

Subject (listing for 'Passing more than one argument to a function with map')
Author Date Posted
Passing more than one argument to a function wi... Buz Barstow 10/17/00 11:59am
Re: Passing more than one argument to a functio... Aaron Honecker 10/17/00 5:22pm
Next Comment >Help | Reply To Topic