Post Reply 
Pasting a program into G2 causes it to crash.
05-28-2021, 10:40 PM (This post was last modified: 05-28-2021 11:28 PM by Liamtoh Resu.)
Post: #4
RE: Pasting a program into G2 causes it to crash.
Try editing the program on the prime.

See if there are extra characters of the last END;
and then delete them.

I have preveiously seen this phenomena.

Sure enough. I created the new program ball using the CK.
The prime g2 rebooted at least once. I finally connected and
pasted your text for the ball program.

I edited the ball program directly on the prime g2 and found
about five extra bytes appended to the program and deleted them.

The ball program passed the program check.

The program was then ran-- a ball was bouncing around in front of the
text on the screen until I hit the Esc key.

And then I actually looked at the source code.

Hitting the down feature of the circular touch pad slowed down the ball
and it eventually settled down at the bottome of the screen.

Question: Are you using any reference material besides the HP prime User's Guide?
I admit I have not rtfm'd the guide yet. I have been looking at running micropython
on the prime g.

BTW: I am using the 20210505 firmware and the 2020 CK software. I use notepad as
in intermediate copy/paste buffer from the code on the blog.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Pasting a program into G2 causes it to crash. - Liamtoh Resu - 05-28-2021 10:40 PM



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