Post Reply 
HP-50g Local variable and Global variable confusion
04-07-2017, 05:28 PM (This post was last modified: 04-07-2017 07:22 PM by Han.)
Post: #2
RE: HP-50g Local variable and Global variable confusion
Create F as a function instead of an expression.

'F(X) = 2*X' DEFINE

creates a variable F whose content is
\<< \-> X '2*X' \>>

Then just use something like \<< 5 F \>> to evaluate F at X=5.

Quote:Also, another question, the VARS command shows the global vars, how can we know the local vars that exist

Local variables only exist during runtime.

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


Messages In This Thread
RE: HP-50g Local variable and Global variable confusion - Han - 04-07-2017 05:28 PM



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