Join us on Discord!
You can help CodeWalrus stay online by donating here.

HP Prime Benchmark

Started by Enlightened Ingression, October 18, 2016, 10:59:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Enlightened Ingression

I was working on my Benchmark program for the HP Prime, but then I noticed that my calculator started acting up. It looks like this when M is 1000, but like this when M is 100. It should look like the second one, the weird design in the left of the screen. Could you check what's wrong with my code? Thanks. (BTW right click the image icons and click open image in new tab to see the images.)

Source Code:
EXPORT Benchmark(R,I,M)

BEGIN

T:=TICKS;

RECT();

ARC_P(160,120,R);

REPEAT ARC_P(160,120,((R+1)▶R));

UNTIL R≥M;

FREEZE;

L:=TICKS;

T:=((L-T)/1000)

END;

Powered by EzPortal