Post Reply 
input issues
01-26-2021, 04:34 PM (This post was last modified: 01-26-2021 04:35 PM by toml_12953.)
Post: #16
RE: input issues
(01-25-2021 07:42 PM)Amer7 Wrote:  
(01-25-2021 07:32 PM)Didier Lachieze Wrote:  As I said previously assignments should be done with :=, not with =.
So you should replace L=(, K=ABS... by L:=(, K:=ABS etc...

When you write a=b the Prime is evaluating if a is equal to b, not assigning b to a.

aaaaa, I understand now, i thought that local was the same like in java
int a,b,c,d ;
and when i say int a=0; it assigns 0 to a.
Now I understand that I can say:
Local a1,a2,a3,
a1:=a2+a3;
Thanks, it's getting better.

You can also combine LOCAL with assignment

LOCAL bx:=7, c:=12;

Tom L
Cui bono?
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: 3 Guest(s)