Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'function prompt for input' topicStudent Support Forum > General > Archives > "function prompt for input"

Next Comment >Help | Reply To Topic
Author Comment/Response
05/17/02 6:24pm

How can I write a function which prompts for user input?

I would like the function to work interactively. It gives you a prompt >, you type a number or a comma-separated sequence of numbers, and it does some calculations and gives you another prompt.

Also, how would I parse the input string?

(The point is to simplify inputing some numbers which I have written on a sheet of paper into Mathematica, so if it is too complicated, I'll find some other way.)

URL: ,

Subject (listing for 'function prompt for input')
Author Date Posted
function prompt for input John 05/17/02 6:24pm
Re: function prompt for input Casey Mann 05/19/02 4:11pm
Next Comment >Help | Reply To Topic