Skip to content

Switch Element #3

@ghost

Description

Add the Switch element to the language.

Now, it is like this:
The count variable is just to demonstrate the use of various conditions in the case

context c1
   switchPort spAudio audioEn.trechoEn audioPt.trechoPt
   case system.language == "en" and count < 0: audioEn
   case system.language == "pt" and count > 0: audioPt

   default: audioPt

   -- Media audioPt com Area trechoPt e Media audioEn com Area trechoEn
end

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions