Did AppBuilder missing Switch Statement?


Tinn Aphopchung

I cannot find Switch Statement in AB. (Select case..)

https://www.w3schools.com/js/js_switch.asp

Do I miss something?


decsoft

Hello Tin,

No, you don't miss anything. :-) AB do not provide an Switch action, but the If, IfEx, Else and ElseIf actions. Of course, if you wanted to use the Javascript Switch, you can do it, between the StartJS and EndJS actions, that is, using Javsacript code.



Tinn Aphopchung

OK. :-)

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.