Oleksandr is an Avid Reader. No contributions for 2024.
Without a doubt, there will be something to
share on the Community in 2025!
User bio
404 bio not found
Member since Jun 2, 2020
Posts:
Oleksandr has not published any posts yet.
Replies:

Obviously, a complex condition cannot produce simple code. I do this in that way:

 set val1 = 1
 set val2 = 2
 set val3 = 3

 w $SELECT(
     (val1>=3)&&(val1<=9):
     $SELECT(
        val2=0:"Condition 1",
        val2>0:"Condition 2"),
        val2=1:$SELECT(
                val3<3:"Condition 3",
                     1:"Condition default 1"
              ),
       val2'=1:$SELECT(
                 (val2>1) && (val2<9):"Condition 4",
                                    1:"Condition default 2"
               )
    ),!

It's more clear and readable.

Certifications & Credly badges:
Oleksandr has no Certifications & Credly badges yet.
Global Masters badges:
Oleksandr has no Global Masters badges yet.
Followers:
Oleksandr has no followers yet.
Following:
Oleksandr has not followed anybody yet.