Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
Thomas1
Level V

Basic question concerning IF statements

Are the two IF formulas behaving in the exact same way or is there any difference? Which syntax should be preferred for numeric data and why?

 

IF Statement1

 

If( :Value > 1, 1, Empty() )

 

IF Statement2

If( :Value > 1, 1 )
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Basic question concerning IF statements

If you open the formula for each of the columns in your sample data table, you will see that JMP interprets both of them as the same.

Jim

View solution in original post

2 REPLIES 2
Highlighted
txnelson
Super User

Re: Basic question concerning IF statements

If you open the formula for each of the columns in your sample data table, you will see that JMP interprets both of them as the same.

Jim

View solution in original post

Highlighted
Thomas1
Level V

Re: Basic question concerning IF statements

Thanks. I did realize this already, but was not sure whether JMPs treat both IF statements always in the same way.

Article Labels

    There are no labels assigned to this post.