GETLINE Get a Line of Input from User
Section: Input/Ouput Functions
UsageReads a line (as a string) from the user. This function has two syntaxes. The first is
a = getline(prompt)
prompt is a prompt supplied to the user for the query.
The second syntax omits the
a = getline
Note that this function requires command line input, i.e., it will only operate correctly for programs or scripts written to run inside the FreeMat GUI environment or from the X11 terminal. If you build a stand-alone application and expect it to operate cross-platform, do not use this function (unless you include the FreeMat console in the final application).