
User raw input

Skargaemer
Right now I'm just trying to work on a template for later projects through which the user can specify a starting and ending X-value as well as an X-interval, and given the array of data IGOR will produce a numeric value for the area under the curve. I know that I should be using the 'Area' function as defined by IGOR, but I'm having trouble with the user input.
Could someone please help me out with a small snippet of code that prompts the reader to enter a starting and ending X-value as well as an X-interval? I then need to take that raw input and declare it as a variable that I can then use to calculate the area under the curve. (comments would be appreciated too, so I could follow the process and use it for future use).
Thanks for the help!
To check this function, do the following on the command line:
HTH
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
May 14, 2008 at 06:26 am - Permalink