Post Reply 
Request: "Done" instead of 0
08-26-2018, 12:56 PM (This post was last modified: 08-26-2018 03:01 PM by compsystems.)
Post: #1
Request: "Done" instead of 0
In a presentation of computer algebraic systems, I show the difference between numerical and symbolic languages

PHP Code:
int main() {

output: error: 'x' was not declared in this scope

PHP Code:
#include <iostream>
using namespace std;

int main(int argcchar *argv[]) {
cout << 4/3+1/<< endl;

output: 1

in the hp-prime
print(4/3+1/3) [enter] show 5/3 ok
but then [esc] show 0 ?

in c++ the output return 0; but the CAS is not c/c++, for this reason this generates confusion on history view, when run the hp-prime in a classroom or you want to take a screenshot

print(4/3+1/3) -> 0

Please HP-team return the word "Done" (history view) instead of the number 0 or best the last printing statement

print(4/3+1/3) [enter] show 5/3 ok
but then [esc] -> 5/3

The following screenshot shows the problem by showing zero the sum of the numbers 4/3+1/3.

Attached File(s) Thumbnail(s)
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Request: "Done" instead of 0 - compsystems - 08-26-2018 12:56 PM

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