Home AMX User Forum NetLinx Studio
Options

DEFINE_CONSTANT vs DEFINE

what's the advantage or disadvantage of using

DEFINE_CONSTANT
volatile integer myConstant = 1

versus:
DEFINE myConstant 1

The latter I think is a compiler directive and will not take volatile memory.

Sign In or Register to comment.