Software 2.1.14558 (Beta): First Impressions - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Software 2.1.14558 (Beta): First Impressions (/thread-16813.html) |
Software 2.1.14558 (Beta): First Impressions - Eddie W. Shore - 04-26-2021 04:59 AM First, thank you HP Team! Thank you Tim and Cyrille! NEW COMMANDS If I am understanding correctly, the Resources command returns a graphic object? I like the Intelligent Math mode. If that box is checked, the Prime will prioritize returning results exactly in Home Mode. Unchecked, all results are floating point (the default mode in programming). My fingers are crossed that a system variable, like HAngle or HFormat, is created for Intelligent mode. I was excited when I learned about Go To in programming editing mode. However, it is not the GOTO command I thought it was, but allows you to jump to any line in programming mode. Still useful. Also, there are line markers in the PPL programming mode. Below are demos of the several of the new commands. TERMINAL Code: EXPORT TERMDEMO() There are lot more things that can be done with terminal: examples include clear the terminal screen and change the line's color. PRINT2D I think is the my favorite new command so far. PRINT2D prints textbook expressions on to the terminal, and allows for strings to be displayed in different font sizes, colors, and styles. Code: EXPORT PTWODEMO() CONST This allows the user to define a constant. I did get a syntax error with this code though. Code: EXPORT CONSTDEMO() TEXTSIZE There is no help file for TEXTSIZE (yet), TEXTSIZE returns the text as a two element list: { size in pixels for the x-axis, size in pixels for the y-axis }. Curiously, TEXTSIZE is found in the Cmds-Drawing-Cartesian menu instead of the Cms-Drawing-Pixels menu. Code: EXPORT TXTSZEDEMO() I am fan of the Probability Wizard (Toolbox-Math-Probability-Probability Wizard), curious to know why this approach instead of making another standard app. I have not gotten to the Python app yet, plan to do so within the coming week. RE: Software 2.1.14558 (Beta): First Impressions - cyrille de brébisson - 04-26-2021 09:46 AM Hello, >Resource Resource allows you to read/write the resource part of a program. Resource can contain a graphic object. In this case, G1:=Resource("name") allows you to get the data. This allows you to store graphical files in your program. But it can also be binary data if you have, for example, a star position database... Resource("name", start, end) allows you to read n bytes. You can change a resource file, but it is not the main purpose... Cyrille RE: Software 2.1.14558 (Beta): First Impressions - compsystems - 04-26-2021 04:10 PM the new CONST command does not allow compiling the code Quote:Syntax: TERMINAL CMD (please more examples) Quote:Syntax: I think you need a function that allows you to enter Terminal(); and exit the terminal view from a program code. PRINT2D CMD The FLOOR and CEILIN commands are widely used, for them there are mathematical symbols, which are in the Unicode font. PHP Code: PRINT2D( 'floor(17 / 3)' ); // print as function floor(17 / 3), but ⌊ 17/3 ⌋ is real 2D mathbook print, 8970 (⌊) & 8971(⌋) unicode char RE: Software 2.1.14558 (Beta): First Impressions - Tyann - 04-26-2021 05:34 PM Quote:This allows the user to define a constant. I did get a syntax error with this code though.Bonjour CONST var:=val; fonctionne pour moi, cela doit être placé hors des fonctions: Hello CONST var:=val; works for me, it must be placed outside the functions: Code:
RE: Software 2.1.14558 (Beta): First Impressions - compsystems - 04-26-2021 05:58 PM Ok, the definitions must be outside the main body of the program. They also have to be different variables from the system 1 Real: A,...,Z 2 Complex: Z0,..., Z9 3 List: L0,..., L9 4 Matrix: M0,..., M9 5: Graphics: G0,..., G9 PHP Code: // define and protect CONSTDEMO() [ENTER] OK PHP Code: CONST A1; CONSTDEMO1() [ENTER] "Error: Invalid input" the output message has to be improved to "Error: A1 constant" |