Tuesday, September 6, 2011

Requesting user input from the command line

Most programs need to request information from the user. This example shows how to request and accept information from the user at the command line.

Click on the screenshot to enlarge the image for easier reading.


Note: This just shows how to begin working with simple command line input. It does not how the error trapping which would be needed to protect your code from unexpected input.