The Spotfire Community is moving to TIBCOmmunity and this forum location has closed. During the transition, you can still search the old forums but posting has been disabled. We encourage you to pick up the discussion at the new Spotfire community on TIBCOmmunity.
multiline if statement in script - TIBCO Spotfire Community

multiline if statement in script

Last post Tue, Jun 26 2012 4:56 AM by rohan. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Wed, Jun 20 2012 12:35 AM

    • satish
    • Top 500 Contributor
    • Joined on Thu, Mar 29 2012
    • Posts 6

    multiline if statement in script

    i want below statement flow in spotfire script  that runs on button click:

    if temp1<>"" and temp2<> "" :
    statement1

    statement2

    else

     statement3

     I searched google for iron python help but i am not getting any solution in simple words...

    Filed under: ,
  • Tue, Jun 26 2012 4:56 AM In reply to

    • rohan
    • Top 500 Contributor
    • Joined on Wed, May 23 2012
    • Posts 7

    Re: multiline if statement in script

    it will work if you try the following if temp1 != "" and temp2 != "" : statement1 statement2 else: statement3 Apply indentation before every statement(1,2,3) to indicate within a loop. regards, Rohan
Page 1 of 1 (2 items)
©Copyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center