Post Reply 
HP Prime
09-06-2014, 03:49 AM
Post: #35
RE: HP Prime
(09-06-2014 03:01 AM)gbh Wrote:  (1) What does putting a variable in single quotes (e.g., 'X') mean, and why?

I think this is the same as that for the HP48: 'X' is the variable itself, whereas X produces the contents of the variable. (Perhaps I misunderstand your question)

Quote:(2) == AND = are supposedly different, but = seems to work where == ostensibly would be required; e.g., (n=2) returns 1. Are = and == equivalent in some contexts and not others?

Unfortunately, yes. The CAS environment sometimes handles = as ==.

Quote:(3) Are := and the little right-pointing arrow (Store) always equivalent, or just sometimes?

They are two different ways of doing exactly the same thing. The := syntax is much easier for those creating code on a PC (whose keyboard lacks the right-pointing arrow) whereas the arrow is readily accessible on the calculator (either via the menu or keystrokes).

Quote:(4) How to declare "locally global" variables and functions---those to be shared by all the subroutines of a program (without passing arguments in parentheses). Evidently such variables and functions are declared before the first Export Func() statement. I had to figure this out from examples on the internet, and I'm not sure I really understand it. A few sentences in the manual would clarify the procedure.

They just need to be declared before the function calling them, like with C/C++ functions. You do not necessarily have to declare before the first instance of EXPORT.

Here's my understanding of it: http://www.hpmuseum.org/forum/thread-216.html

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime - gbh - 08-30-2014, 02:44 AM
RE: HP Prime - Joe Horn - 08-30-2014, 04:20 AM
RE: HP Prime - gbh - 08-30-2014, 04:51 PM
RE: HP Prime - Tim Wessman - 08-31-2014, 02:33 PM
RE: HP Prime - lschroeder1947 - 08-31-2017, 09:59 AM
RE: HP Prime - DrD - 08-31-2017, 12:22 PM
RE: HP Prime - Hans S. - 08-31-2017, 08:49 PM
RE: HP Prime - lschroeder1947 - 09-01-2017, 10:26 AM
RE: HP Prime - sol740 - 08-30-2014, 08:32 PM
RE: HP Prime - eried - 08-30-2014, 09:32 PM
RE: HP Prime - Joe Horn - 08-30-2014, 10:04 PM
RE: HP Prime - walter b - 08-30-2014, 10:12 PM
RE: HP Prime - Joe Horn - 08-30-2014, 10:13 PM
RE: HP Prime - sol740 - 08-31-2014, 09:58 AM
RE: HP Prime - Michael de Estrada - 08-30-2014, 11:26 PM
RE: HP Prime - Mark Hardman - 08-31-2014, 12:40 AM
RE: HP Prime - toml_12953 - 09-10-2014, 03:10 PM
RE: HP Prime - gbh - 08-31-2014, 12:02 AM
RE: HP Prime - Michael de Estrada - 08-31-2014, 12:26 AM
RE: HP Prime - Mark Hardman - 08-31-2014, 12:33 AM
RE: HP Prime - gbh - 09-01-2014, 02:28 AM
RE: HP Prime - oldhpfan - 09-01-2014, 06:14 AM
RE: HP Prime - Tim Wessman - 09-01-2014, 03:42 PM
RE: HP Prime - cutterjohn - 09-05-2014, 08:48 PM
RE: HP Prime - Joe Horn - 09-05-2014, 11:44 PM
RE: HP Prime - cutterjohn - 09-14-2014, 02:40 PM
RE: HP Prime - parisse - 09-06-2014, 06:47 AM
RE: HP Prime - gbh - 09-01-2014, 05:50 PM
RE: HP Prime - walter b - 09-01-2014, 06:42 PM
RE: HP Prime - oldhpfan - 09-02-2014, 08:22 AM
RE: HP Prime - Joe Horn - 09-02-2014, 04:26 PM
RE: HP Prime - oldhpfan - 09-02-2014, 07:37 PM
RE: HP Prime - Joe Horn - 09-02-2014, 09:28 PM
RE: HP Prime - oldhpfan - 09-03-2014, 12:26 AM
RE: HP Prime - gbh - 09-01-2014, 07:35 PM
RE: HP Prime - walter b - 09-02-2014, 09:56 PM
RE: HP Prime - gbh - 09-02-2014, 03:50 PM
RE: HP Prime - oldhpfan - 09-02-2014, 07:55 PM
RE: HP Prime - oldhpfan - 09-06-2014, 02:31 AM
RE: HP Prime - gbh - 09-06-2014, 03:01 AM
RE: HP Prime - Han - 09-06-2014 03:49 AM
RE: HP Prime - gbh - 09-06-2014, 06:07 PM
RE: HP Prime - oldhpfan - 09-06-2014, 03:27 AM
RE: HP Prime - Eddie W. Shore - 09-14-2014, 03:03 PM
RE: HP Prime - dbbotkin - 09-22-2014, 05:55 PM
RE: HP Prime - StephenG1CMZ - 05-24-2015, 07:07 PM
RE: HP Prime - toml_12953 - 08-31-2017, 07:50 AM
RE: HP Prime - EladLending - 08-30-2017, 05:00 PM
RE: HP Prime - DrD - 09-01-2017, 11:55 AM
RE: HP Prime - Hans S. - 09-01-2017, 07:18 PM
RE: HP Prime - lschroeder1947 - 09-02-2017, 10:00 AM
RE: HP Prime - DrD - 09-02-2017, 11:21 AM



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