Support Board
Date/Time: Wed, 15 Jan 2025 18:06:08 +0000
Post From: (mysterious condition)
[2017-07-06 18:15:19] |
User138418 - Posts: 16 |
I’m an OLD programmer, but new to C++ & Sierra. There’s a construct in the first Trading Examples file that drives me bats: bool TradingAllowed = true; (BarTime >= HMS_TIME(10, 0, 0) && BarTime < HMS_TIME(14, 0, 0)); The next line tests TradingAllowed for T/F. The implication seems that TradingAllowed will be set True if the following (condition) makes muster and False if it does not. But there’s not an “If” or “False” in sight. What gives that (condition) that power? Where is this mysterious power explained? What’s its name? What other mysterious powers exist merely by using () after the fact? What am I missing? HALP! |