 Rank: Newbie
Groups: Registered
Joined: 24/09/2022(UTC) Posts: 2
|
Hi, Maybe this is a very dumb question but how can I add a "if else" structure? When I click the "if" in the programming toolbar no "else" is added.
|
|
|
|
 Rank: Newbie
Groups: Registered
Joined: 24/09/2022(UTC) Posts: 2
|
OK, this happens in last version. I checked in build 8151 it does not occur, seems like a bug.
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,937  Was thanked: 1096 time(s) in 699 post(s)
|
The if function now has a variable number of operands. The side panel and the dynamic assistant insert the binary form by default. Just type one or more argument separators immediately after insterting the function and see what happens. Likewise you can delete operators by typing backspace. The binary form is a compact notation if you don't need the else clause. However, I prefer the cases() function from the custom functions plugin, because it is more compact.  |
|
 1 user thanked mkraska for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 29/11/2017(UTC) Posts: 81  Location: Midwest Was thanked: 6 time(s) in 6 post(s)
|
Ah-h! Good to know. I was scratching my head on this one!
Thank you!
Norm
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.