[JSMentors] stdin and stdout

2011-02-24 Thread Adrian Berg
I'm new to Javascript, and I'm wanting to write a simple program that asks the user to state what it is they want calculated, one plus one for instance. Then I would like the program to store that information and use it as instructed. I want it to be similar to a basic Python program, where the

Re: [JSMentors] stdin and stdout

2011-02-24 Thread Poetro
2011/2/24 Adrian Berg adrian.ber...@gmail.com: I'm new to Javascript, and I'm wanting to write a simple program that asks the user to state what it is they want calculated, one plus one for instance. Then I would like the program to store that information and use it as instructed.

Re: [JSMentors] stdin and stdout

2011-02-24 Thread Adrian Berg
Of note, my email went through finally on the node.js mailing list. Ryan says that the script that I want to write is the snippet of code I pasted in the previous message. Poetro, I just thought that stdin would be a function, it makes much more sense that it's an object after you explained what