if-else

We proudly present: The release of DMXControl 3.3.3!


On September 29, 2026, we held our release show for DMXControl 3.3.3. During our usual “hour-long” session, we showed you all the new features in this version and what it now has to offer.
Read all about it in the corresponding news article: We proudly present: The release of DMXControl 3.3.3!


  • Kann mir bitte mal jemand zeigen, wie man ein Else-Statement im DDF-Code-Teil programiert? Ich bekomme es einfach nicht hin!!

    Zum Beispiel

    if (....) {
    ...
    } else {
    ...
    if (...) {
    ...
    } else {
    ...
    }
    }

    Es geht zwar auch ohne, würde aber Rechenzeit sparen...

    Danke!

  • na immerhin siehst dus ein ;D

    also auf das if-konstrukt folgt ein | und dann in klammern der ausdruck gefolgt von einem weiteren | (wofür dann die klammern?)
    es folgt der befehl angeführt von einem ! beendet von einem $ das else wird auch durch ein | dargestellt und das if-konstrukt wird wiederum durch $ beendet...
    müsste dann die funktion nicht eher so aussehen:

    !if|(...)|
    !Befehl$
    |
    !if|()|
    !Befehl$
    |
    !Befehl$
    $
    $

    zur info ich hab ein | eingefügt...

  • Newly created posts will remain inaccessible for others until approved by a moderator. The last reply was more than 365 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.