Post Reply 
input issues
01-25-2021, 03:53 PM
Post: #5
RE: input issues
(01-25-2021 03:47 PM)rprosperi Wrote:  
(01-25-2021 03:13 PM)Amer7 Wrote:  I see I have to use LOCAL to to use variables like a1,b,c,d etc.
What if i want to calculate like R = a+b+c and later
PRINT ({R});
Do I have to define R in local or can i just go like this
LOCAL a,b,c,d;
INPUT({{a,[0]},{b,[0]},{c,[0]},{d,[2]}},"Input test", {"Input σ₁²","Input σ₂²","Input σ₁₂","Input F(α,2,f)"});

R= a+b+c;
PRINT({R});

Will this work ?

Try it???

It doesn't work, it seems that you have to define all of your variables at the start. This is not very practical. Is there a way that I can define new variables as I go. I'm not sure how many i will need.
Now I see why most people decide for other brands of calculators that are even slower. You dont have to be a programmer to write a simple program.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
input issues - Amer7 - 01-25-2021, 02:07 PM
RE: input issues - Didier Lachieze - 01-25-2021, 02:38 PM
RE: input issues - Amer7 - 01-25-2021, 03:13 PM
RE: input issues - rprosperi - 01-25-2021, 03:47 PM
RE: input issues - Amer7 - 01-25-2021 03:53 PM
RE: input issues - Didier Lachieze - 01-25-2021, 04:03 PM
RE: input issues - Amer7 - 01-25-2021, 04:38 PM
RE: input issues - Didier Lachieze - 01-25-2021, 05:00 PM
RE: input issues - Amer7 - 01-25-2021, 06:25 PM
RE: input issues - C.Ret - 01-25-2021, 07:13 PM
RE: input issues - Didier Lachieze - 01-25-2021, 07:32 PM
RE: input issues - Amer7 - 01-25-2021, 07:42 PM
RE: input issues - toml_12953 - 01-26-2021, 04:34 PM
RE: input issues - C.Ret - 01-25-2021, 07:36 PM
RE: input issues - Amer7 - 01-25-2021, 08:00 PM
RE: input issues - Amer7 - 01-26-2021, 03:01 PM
RE: input issues - Amer7 - 01-27-2021, 11:45 AM
RE: input issues - Didier Lachieze - 01-27-2021, 01:59 PM



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