HP Forums
Superior sign on hp prime - 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: Superior sign on hp prime (/thread-14316.html)



Superior sign on hp prime - Siryak - 01-05-2020 02:24 PM

Hello, sorry for my English.
So I have buy the HP prime and I want to make program
But the superior sign > make a syntax error
Thanks you.


RE: Superior sign on hp prime - Voldemar - 01-05-2020 08:11 PM

In the end of third line must be ;


RE: Superior sign on hp prime - ijabbott - 01-05-2020 08:29 PM

(01-05-2020 02:24 PM)Siryak Wrote:  Hello, sorry for my English.
So I have buy the HP prime and I want to make program
But the superior sign > make a syntax error
Thanks you.

There is a semicolon ( ; ) missing at the end of the previous line:

B^2-4*A*C▸D;

There are also double quotes missing on the line that prints "Pas de solution":

PRINT("Pas de solution");

I don't know not why you have this line:

BREAK; //???

It breaks out of loops, but there is no loop to break out of in your function.