CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: Enlightened Ingression on October 18, 2016, 10:59:17 PM

Title: HP Prime Benchmark
Post by: Enlightened Ingression on October 18, 2016, 10:59:17 PM
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 (https://goo.gl/photos/yRC8zNe29sETcH9YA) when M is 1000, but like this (https://goo.gl/photos/JkHmLFvECpiiuux27) 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;