Post Reply 
Prime newbie questions
01-31-2023, 10:41 PM
Post: #3
RE: Prime newbie questions
(01-31-2023 08:58 PM)Guenter Schink Wrote:  1. Seems to be a good Idea. Side effects?
2. Once you develop longer programs, line numbers are very helpful. Look at <More> while in the editor. Easy to jump to a specific line. BTW: Line numbers are not part of the code, they are part of the editor.
3. Notepad++ comes in very handy(if you have Windows), even with an HP Prime extension available. Here you'll see line numbers again, very helpful for navigation in longer files.
4. don't know
5. Use pre-defined A..Z, L0..L9, M0..M9 for numeric, List and Matrix variables respectively. If you need more descriptive variable names or something for strings etc., create them by typing in anything, touch the Sto> soft button and give it an arbitrary name, confirm that you want to create it - et voilà this variable is now available to your convenience.

Except for the pre-assigned names mentioned above, the name doesn't say anything about the content. E.g. an intentionally name created as shown above e.g "name" may now contain a number but next time a matrix or string. It's under your control. You mentioned "it's not Basic", you're right it isn't.

WRT to conversion, the fine manual is where to go.

HTH Günter
Thanks Günter!

1. Dunno, I am Prime newbie, but apparently ALPHA+Enter is just plain Enter now, not mapped.
2.I've developed hundreds of programs with thousands of lines without numbers, never seen any problem. It is more comfortable just to see current line number somewhere at the top or bottom of the screen, not consuming valuable space of the already small screen.
3.No, I need editor running on the Prime itself. vi is good enough for cross-development, but often you need to write code on the fly in situ.
5. Pity. No static typing, records and pointers. Eagerly waiting for working Python or Lua implementation, or, better extending HP PPL to the level of Modula/Pascal.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime newbie questions - x34 - 01-31-2023, 11:57 AM
RE: Prime newbie questions - x34 - 01-31-2023 10:41 PM
RE: Prime newbie questions - JimP - 01-31-2023, 11:40 PM
RE: Prime newbie questions - x34 - 02-01-2023, 05:56 AM
RE: Prime newbie questions - Tyann - 02-01-2023, 11:34 AM



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