Post Reply 
Calling a Program from Home Page. What's Wrong
12-11-2014, 11:21 AM (This post was last modified: 12-11-2014 11:26 AM by bobkrohn.)
Post: #6
RE: Calling a Program from Home Page. What's Wrong
In Emulator (will also try on calculator later)
In non-CAS

EXPORT P2RN(a,d)__________[DOES NOT WORK]
BEGIN
RETURN COS(a)*d;
END;


EXPORT test1(a,d)__________[works OK]
BEGIN
RETURN COS(a)*d;
END;

EXPORT test1(A,D)__________[works OK]
BEGIN
RETURN COS(A)*D;
END;

EXPORT test1(A,D)__________[works OK]
BEGIN
LOCAL N;
N:=COS(A)*D;
RETURN N;
END;

I just can't believe the HP-Prime operating system is this horribly buggy.
Inexcusable. What other crazy problems are there yet to be discovered?
Especially since it's been on the market this long.
Of course I've always had this quirk of, right off the bat, being able to discover bugs in software.

And it's not just using the variable "P2RN" for a program. Several other names cause a problem.
Having a number in second position?
Maybe it's interpreting it as P*2*RN ? Who knows.
____(try typing "P2RN" into the HOME screen)
Using "PRN" works.
Wait, "PR2N" doesn't work either.
Ahhh. "PRN2" works.
So maybe if there is a number in the name it has to be in the last position??
Hey, "P_RN" works.
Crazy.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Calling a Program from Home Page. What's Wrong - bobkrohn - 12-11-2014 11:21 AM



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