Hello,
dear community
I saw an example model, with code bellow written in the "trigger on exit" of a "source" atom, but i couldn't understand what is the meaning of this code:
if(
output(c)<=20,
do(
i.row := 2,
i.column := Output(c)
),
do(
i.row := 3,
i.column := output(c)-20
)
)
to make it more clear, i don't know what is the usage of " . " ??? {i know how IF & DO functions work, my problem is dot (.) }
Best Regards,
Amin
what is the meaning of " i.row :=2 " in following code?
Re: what is the meaning of " i.row :=2 " in following code?
Hi Amin,
i.row refers to label 'row' on atom 'i'.
i.row := 2 equals Label([row], i) := 2
Gerben
i.row refers to label 'row' on atom 'i'.
i.row := 2 equals Label([row], i) := 2
Gerben
Re: what is the meaning of " i.row :=2 " in following code?
Hi Dear Gerben,
Thanks a million, it was really helpful.
best regards,
Amin
Thanks a million, it was really helpful.
best regards,
Amin