if / Если - Forum

Forum Navigation
You need to log in to create posts and topics.

if / Если

How to implement such an If construct?
Как реализовать такую конструкцию If ?

If ****
  ***********************
else
  if **************** else
  if **************** else
  **********************
EndIf

 

@lolo

IF "" "" ""

**********************

Else

   IF "" "" ""

   **********

   Else

   **********

   EndIF

   IF "" "" ""
   **********
   Else
   **********
   EndIF

************************
EndIF

luishp has reacted to this post.
luishp

@vadim

ну да ))

@lolo

And if you need sequentially dependent nested conditions, you can do this (in principle, any combination of logical conditions is possible):

IF "" "" ""
**********************
Else
    IF "" "" ""
     **********
     **********
         IF "" "" ""
         **********
         **********
               IF "" "" ""
               **********
               Else
               **********
              EndIF
         Else
         **********
         **********
               IF "" "" ""
               **********
               Else
               **********
              EndIF
        EndIF
    ************************
    EndIF
************************
EndIF