HP Forums
Straight Line Kit (SLK 4.1b) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Straight Line Kit (SLK 4.1b) (/thread-18993.html)



Straight Line Kit (SLK 4.1b) - byoung - 10-20-2022 07:20 PM

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!


RE: Straight Line Kit (SLK 4.1b) - Ioncubekh - 10-21-2022 11:25 AM

Can you share a picture; what is SLK? I am on latest firmware


RE: Straight Line Kit (SLK 4.1b) - Dougggg - 10-21-2022 01:59 PM

I believe there should be () after plot


RE: Straight Line Kit (SLK 4.1b) - byoung - 10-21-2022 05:09 PM

Ioncubekh, the program I'm talking about can be found here:

https://www.hpmuseum.org/forum/thread-3861.html?highlight=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.


RE: Straight Line Kit (SLK 4.1b) - Dougggg - 10-22-2022 03:36 AM

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