HP Forums
Programmation Problem - 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: Programmation Problem (/thread-5909.html)



Programmation Problem - periappi - 03-21-2016 05:43 PM

Hello,

I've got an issue I can't fix with my HP Prime : when I execute a program I got a syntax error concerning the "," (argument superator). The only way to fixe it is to use the "," key (between "()" and "Enter" keys) and it puts a ";" symbol... Do you have any idea to fix it ?

Thank you, and sorry for my english

periappi

PS : Example of error : "LOCAL A=0, B=0, C=0.........."
"CHOOSE(A, "Choisissez un thème"......"

PS 2 : But I haven't this problem with my emulator, the program works.


RE: Programmation Problem - Fortin - 03-21-2016 07:49 PM

I suspect that pragma may help to align the separators with your code's expectations:

http://www.thecalculatorstore.com/Calculator-blog/How-to-make-your-Prime-programs-not-dependent-of-the-HP-Prime-number-settings


RE: Programmation Problem - periappi - 03-21-2016 08:53 PM

(03-21-2016 07:49 PM)Fortin Wrote:  I suspect that pragma may help to align the separators with your code's expectations:

http://www.thecalculatorstore.com/Calculator-blog/How-to-make-your-Prime-programs-not-dependent-of-the-HP-Prime-number-settings

Thanks ! It works, and thank you for your quick reply Smile !