July 09, 2020, 02:28:35 am

The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

WARNING: DO NOT UPGRADE your TI-83 Premium CE or TI-84 Plus CE to OS 5.5.1 and higher. It removes all compatibility with most games and removes ASM/C programming! DOWNGRADING IS IMPOSSIBLE. BE WARNED! Likewise, do NOT update your TI-Nspire CX past OS 4.5.0, else using Ndless and ASM/C programs will be impossible.

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