Poll: Would you use P+ for development or stick to developing in PPL
P+
PPL
P+ & PPL
[Show Results]
Note: This is a public poll, other users will be able to see what you voted for.
Post Reply 
P+ for HP Prime Development in PPL
05-13-2023, 01:54 PM
Post: #3
RE: P+ for HP Prime Development
(05-11-2023 01:14 AM)Insoft Wrote:  PPL does not support pre-processing or multiple files, resulting in a single large file that can be unwieldy to manage.

PPL certainly does support multiple files. If you create a PPL routine and save it, you can call that routine from any other PPL program. I have a routine called TAB to space output (I wish the terminal had a monospaced font!)

Code:
EXPORT TAB(X)
BEGIN
  LOCAL I,T;
  T:="";
  FOR I:=1 TO X DO
    T:=T+" ";
  END;
  RETURN T;
END;

I use this in most of my programs I converted from legacy BASIC programs. This is a simple example but called programs can be as complex as you want them to be.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: P+ for HP Prime Development - toml_12953 - 05-13-2023 01:54 PM
RE: P+ for HP Prime Development - jonmoore - 05-14-2023, 07:10 AM
RE: P+ for HP Prime Development - jonmoore - 05-14-2023, 12:26 PM



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