cancel
Showing results for 
Search instead for 
Did you mean: 
kain_x_x
Level 1
7 3 1 1
Message 1 of 2
637
Flag Post

Solved!

Diferences between emulator and real calculator programing

HP Recommended
hp prime
Microsoft Windows 10 (64-bit)

Hi all

I'm owner of a HP prime.

I decided to begin programing from conectivity software and hp prime emulated to test the programs.

Once i had the program correctly writed i upload it to the real calculator.

I'm sourprised since practically each line have sintax errors (SAME PROGRAM), but i don't know what are them, i just identified one:

In emulated calculator you can declare multiple local variables in a same line with:

LOCAL a,b,c

but not in real calculator.

But well, i can admit that but... I'm having problems also in expresion like:

a:=MAKEMAT(0,b,c) (to make a matrix with 0s of dimensions bxc

also in for loops 

 

FOR i FROM 1 TO fila DO

 

l(i,1):=a(i,1); (SOME SINTAX ERROR HERE)

u(i,i):=1;

END;

 

Seriusly? I must doing something weird...

any ideas?

0 Kudos
1 REPLY 1
kain_x_x
Author
Level 1
7 3 1 1
Message 2 of 2
Flag Post
HP Recommended

some one in hpmuseum forum helped me.

 

The problem was related to regional settings (digit agrupator).

Anyway, IMHO it should be a bug. I think that for same alphabet (latin in this case) the programming languaje should be absolute. The way i want to separate the digits of a expresion doesn't should interfere with a programming languaje.

 

One entire day wasted for a regional setting...

 

Regards

0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation