Post Reply 
Straight Line Kit (SLK 4.1b)
10-20-2022, 07:20 PM
Post: #1
Straight Line Kit (SLK 4.1b)
Has anyone gotten SLK 4.1b to work with the latest firmware? When I check the source code, it says there is a syntax error in line 2. The first 3 lines are:

Plot
BEGIN
END;

Any idea what the error is? It looks like a lot of work went into this program; I'd hate to think it would become useless due to a simple error or file corruption.

Thanks!

- Bruce
Find all posts by this user
Quote this message in a reply
10-21-2022, 11:25 AM (This post was last modified: 10-21-2022 11:26 AM by Ioncubekh.)
Post: #2
RE: Straight Line Kit (SLK 4.1b)
Can you share a picture; what is SLK? I am on latest firmware

HP Prime G1
Python via Android Termux...
Find all posts by this user
Quote this message in a reply
10-21-2022, 01:59 PM
Post: #3
RE: Straight Line Kit (SLK 4.1b)
I believe there should be () after plot
Find all posts by this user
Quote this message in a reply
10-21-2022, 05:09 PM
Post: #4
RE: Straight Line Kit (SLK 4.1b)
Ioncubekh, the program I'm talking about can be found here:

https://www.hpmuseum.org/forum/thread-38...hlight=slk

Dougggg, thank you, that worked! There were 4 or 5 other lines that had the BEGIN statement, resulting in syntax errors. Putting parentheses after the commands immediately preceding each of these seems to have fixed the problem. I haven't fully tested everything, but at least it runs now. Thanks again.

- Bruce
Find all posts by this user
Quote this message in a reply
10-22-2022, 03:36 AM
Post: #5
RE: Straight Line Kit (SLK 4.1b)
It looks like those functions are called by the Symb, Plot, Num and menu keys but the functions are empty maybe future development or maybe add your own functions to those keys
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: