Post Reply 
Programs()
12-29-2014, 09:12 AM
Post: #6
RE: Programs()
(12-29-2014 08:28 AM)bobkrohn Wrote:  Using RUN in Program Editor list of programs, it will pop up an Input Box for the variable "n".
Input Box does not allow text entry as in "MyProgram".
This is exactly what is explained in the text I pointed out, using RUN in Program Editor you can enter only real numbers as inputs to your program:
Quote:Remark: When a program which takes arguments is executed from the Run menu option in the Program Catalog, then the argument variables are initialized to real numbers, and have a default value of 0. While this feature is nice in that it allows users to enter their arguments in a nice input form, the input form will only accept real-valued inputs and produce input errors otherwise. So while PROG1 was designed to expect a string of characters as its input, executing it from the Run menu option prevents users from actually using a string as an argument!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Programs() - Tyann - 12-28-2014, 07:29 AM
RE: Programs() - compsystems - 12-28-2014, 04:51 PM
RE: Programs() - bobkrohn - 12-29-2014, 06:09 AM
RE: Programs() - Didier Lachieze - 12-29-2014, 07:51 AM
RE: Programs() - bobkrohn - 12-29-2014, 08:28 AM
RE: Programs() - Didier Lachieze - 12-29-2014 09:12 AM
RE: Programs() - Tim Wessman - 12-30-2014, 12:59 AM
RE: Programs() - bobkrohn - 12-30-2014, 12:49 AM
RE: Programs() - bobkrohn - 12-30-2014, 06:19 AM



User(s) browsing this thread: 1 Guest(s)