I'm trying to reuse some old code I wrote and forget where I found the syntax(I'm no expert - probably fit better in the 'dabbler' category).
Is this a short cut for the ternary operator? As inCode:if(pmIn != ""){flag = flag | a;}orCode:flag = (pmIn != "") ? flag : aThanksCode:if(pmIn != ""){flag = flag;} else {flag = a;}


Reply With Quote
Bookmarks