2004 IR Help Posted August 21, 2006 Share Posted August 21, 2006 By: Thorsten Hillebrand - matflasch Switch/Case, if, elseif, else 2005-04-27 01:57 Hello, How can I use a switch statement? And if, else if, else? Or do I have only 2 possibilities like this...? $V{PAGE_NUMBER}.intValue() == new nteger(1).intValue() ? "true" : "false" Matflasch By: Thorsten Hillebrand - matflasch RE: Switch/Case, if, elseif, else 2005-04-27 02:02 Sorry... I found a way to use more than 2 Values... $F{BMBMEN}.intValue() > 10 ? "C:\Jasper\chkChecked.gif" : $F{BMBMEN}.intValue() <= 10 ? "C:\Jasper\chkUnChecked.gif" : "C:\Jasper\blank.gif" Matflasch Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now