Hello everyone,
Who can help me with the following.
My IF Statement only returns the 0 index and not the entire sublist.
Who can help me?
Thanks in advance!
Hello everyone,
Who can help me with the following.
My IF Statement only returns the 0 index and not the entire sublist.
Who can help me?
Thanks in advance!
@Fernand77 For me, the easiest way out would be to put a Code Block as below:
[ifTrue,ifFalse][check?0:1];
This issue has been discussed in many topics, try searching the forum for more options!
Here’s another solution:
ibool;
lst1;
lst2;
c = [Imperative]
{
if(ibool==true)
{return lst1;
}
else
{return lst2;
}
};
Great this is what I was looking for!
Thanks for the responses.