Handling Simulation vs Target differences |
Category: |
Micro-RTS
Applicable to: |
All Versions
Description: |
Since there may be differences in the source code when executing for the SimulationRTS as opposed to the TargetRTS, the ObjecTime internal compiler provides the following conditional compilation flag for cases where SimulationRTS differs from TargetRTS:
__RTSInternal__
Sample usage:
#ifdef __RTSInternal__ // code for simulation RTS situation : #else // code for target RTS situation : #endif
See also: |
ObjecTime C++ User Guide, TargetRTS Restrictions section for additional details.
Copyright © 1999, ObjecTime Limited. |