Hi Experts,


I am working with QEngine, I am not able to find out syntax for Switch Case statements.

I tried few this like this:

NAME = 1

switch (NAME){

        case 1:

                displayMessage("SOAP")

                break

        default:

                displayMessage("Default")

}

got PY exceptions

Please help,

Thanks,

Ravi

  • No status
  • Answered
  • Working on it
  • Need more info
  1 user has this question 

Hi,

    There is no switch-case statement available in python/jython scripting language, so you may not be able to find any syntax or statements in the help.

In jython, you have to do it only through if else statement.

Thanks,
Naveen.

Post Actions
Statistics
  • 1
     Replies
  • 110
     Views
  • 0
     Followers
Tags for the post
No tags available for this topic.
© 2009 Corp. All rights reserved. Trademarks | Privacy Policy | Site Map | Contact Us | Careers

Edit Link Delete Link

Edit Link Delete Link

LoadingImage