INPUT CMD partially operating on CAS code
|
12-03-2016, 05:30 PM
(This post was last modified: 12-04-2016 03:18 PM by compsystems.)
Post: #1
|
|||
|
|||
INPUT CMD partially operating on CAS code
The INPUT CMD is a DIALOG BOXES and is partially operating
if the variables are declared as local (coef1_a, coef2_b, coef3_c, coef4_d) do not work. Commented the LOCAL VARIABLES PHP Code: #cas Now without comment do not execute anything PHP Code: #cas |
|||
12-04-2016, 04:13 AM
Post: #2
|
|||
|
|||
RE: INPUT CMD on CAS code
You are creating a CAS program. INPUT() is not a CAS command.
Graph 3D | QPI | SolveSys |
|||
12-04-2016, 02:09 PM
(This post was last modified: 12-04-2016 03:32 PM by compsystems.)
Post: #3
|
|||
|
|||
RE:
(12-04-2016 04:13 AM)Han Wrote: You are creating a CAS program. INPUT() is not a CAS command. sorry for my bad English CHOOSE, MSGBOX cmds are also DIALOG BOXES and works perfectly on CAS MODE, please run the following program. I think it is a problem with the LOCALS VARIABLES. Some hp-prime developer that confirms what happens Thanks With the current firmware I still can not execute the following code correctly =( 1: Screen does not autoscroll 2: INPUT does not work 3: ASSUME does not work 4: There is not pretty print 5: print; // Clear Terminal Window, does not operate when called for the second time 6: CHOOSE and MSGBOX must be above the terminal window (pop-up) and not go to the CAS/HOME MODE view 7: When copying then paste this source code into the program editor (hp-conn Kit), Tabulation is lost in certain parts. 8: When changing the font size distorts the strings, there must be a flag to set the font size Any hope of seeing any of the previous points implemented? Program: Deduction Quadratic Formula Step by Step PHP Code: #cas |
|||
12-04-2016, 03:12 PM
Post: #4
|
|||
|
|||
RE: INPUT CMD on CAS code
Hi Compsystems!
Han mentioned that INPUT() is not a CAS command, and doesn't work inside your CAS program. Han did not specify anything about the CHOOSE() command. Han has offered you good advice. Whether or not commands work in both environments is not well documented. In general, lowercase commands work in CAS, and probably work in HOME. Uppercase commands work in HOME and may not work in CAS. As the prime evolves, these distinctions are being improved. Case matters, for both commands and variables. If you see issues, errors, etc., you might be more productive if you look at the active environment, and the case of the command name, or variables being used. -Dale- |
|||
12-04-2016, 03:31 PM
Post: #5
|
|||
|
|||
RE: INPUT CMD partially operating on CAS code
Actually INPUT does work on CAS (partially), after entering the data this fails.
Please try the code above yourself. Finally, please the HP-Prime team should be to solve the 8 previous points. I want to create programs that show in a window (terminal window) the output data, request data by dialog boxes and return to show data again. This capability is available on ti68k calcs, or similar to the library I'm writing for the hp50, see http://www.hpmuseum.org/forum/thread-7048.html another aption is to create my own TERMINAL VIEW, but I make missing commands (HP50) like convert from string to graphic object (2 -> GROB), etc. |
|||
12-04-2016, 04:55 PM
Post: #6
|
|||
|
|||
RE: INPUT CMD partially operating on CAS code
(12-04-2016 03:31 PM)compsystems Wrote: Actually INPUT does work on CAS (partially), after entering the data this fails. This CAS test example demonstrates that the input() command doesn't work in CAS, while the same INPUT() structure does work in the following HOME example: (Please try the code below for yourself.) Code:
Code:
"Partially" working simply means it doesn't work. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)