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 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP-50g Local variable and Global variable confusion - rui.c.sousa.99 - 04-07-2017, 09:44 AM
RE: HP-50g Local variable and Global variable confusion - Han - 04-07-2017 05:28 PM
RE: HP-50g Local variable and Global variable confusion - TravisE - 04-08-2017, 09:28 PM
RE: HP-50g Local variable and Global variable confusion - rui.c.sousa.99 - 04-10-2017, 10:30 AM
|
User(s) browsing this thread: 1 Guest(s)