| Author |
A simple question
|
danesh far
Greenhorn
Joined: Nov 25, 2004
Posts: 15
|
|
Hi,could you please let me know what the following ststement says: theDX = theDX > MAX_V ? MAX_V : theDX; [ December 09, 2004: Message edited by: Ernest Friedman-Hill ]
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
I edited your post to remove some superfluous formatting. The ? and : characters together are the "ternary operator." It's basically a shorthand way of writing "if/then". Another way to write exactly the same thing would be Of course, written out like this, the "else" part is redundant.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: A simple question
|
|
|