Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HP Prime global variables
24-03-2016, 07:51 AM
Post: #6
RE: HP Prime global variables
Hello,

You are partially correct.
As a general rule, the HP Prime programming language is designed so that ONE program 'file' contains ALL the related functions, user visible or no. One reason is that, by doing so, you are sure that all the functions that you need stay together (those of us who remember the HP38G time, where each file was 1 single function can probably remember the disaster that this was).

Now, this does not mean that it is a MUST, if a variable is exported, then it CAN be used in a program in another file, BUT you need to make sure that the program that does declare teh global variables is created and present when you build/compile the 2nd program.

Cyrille
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime global variables - cdeaglejr - 20-03-2016, 08:33 PM
RE: HP Prime global variables - brebisson - 21-03-2016, 07:55 AM
RE: HP Prime global variables - cdeaglejr - 21-03-2016, 04:41 PM
RE: HP Prime global variables - brebisson - 22-03-2016, 08:06 AM
RE: HP Prime global variables - cdeaglejr - 23-03-2016, 09:06 PM
RE: HP Prime global variables - brebisson - 24-03-2016 07:51 AM

Forum Jump:


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