Post Reply 
Superior sign on hp prime
01-05-2020, 02:24 PM
Post: #1
Superior sign on hp prime
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.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
01-05-2020, 08:11 PM
Post: #2
RE: Superior sign on hp prime
In the end of third line must be ;
Find all posts by this user
Quote this message in a reply
01-05-2020, 08:29 PM (This post was last modified: 01-05-2020 08:29 PM by ijabbott.)
Post: #3
RE: Superior sign on hp prime
(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.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: