I'm trying to conditionally compile some code but I can't seem to get the IFDEF to work.
This is the source code below, I would expect to see 'Not defined.' but running the program results in 'Defined' being printed. This D3 10.2.2 on Windows if that helps.
*
$IFDEF PLATFORM.D3
PRINT 'Defined.'
$ELSE
PRINT 'Not defined.'
$ENDIF
*
PRINT 'Always print'
Thank you
Page 1 / 1
I'm trying to conditionally compile some code but I can't seem to get the IFDEF to work.
This is the source code below, I would expect to see 'Not defined.' but running the program results in 'Defined' being printed. This D3 10.2.2 on Windows if that helps.
*
$IFDEF PLATFORM.D3
PRINT 'Defined.'
$ELSE
PRINT 'Not defined.'
$ENDIF
*
PRINT 'Always print'
Thank you
This is the source code below, I would expect to see 'Not defined.' but running the program results in 'Defined' being printed. This D3 10.2.2 on Windows if that helps.
*
$IFDEF PLATFORM.D3
PRINT 'Defined.'
$ELSE
PRINT 'Not defined.'
$ENDIF
*
PRINT 'Always print'
Thank you
I'm trying to conditionally compile some code but I can't seem to get the IFDEF to work.
This is the source code below, I would expect to see 'Not defined.' but running the program results in 'Defined' being printed. This D3 10.2.2 on Windows if that helps.
*
$IFDEF PLATFORM.D3
PRINT 'Defined.'
$ELSE
PRINT 'Not defined.'
$ENDIF
*
PRINT 'Always print'
Thank you
This is the source code below, I would expect to see 'Not defined.' but running the program results in 'Defined' being printed. This D3 10.2.2 on Windows if that helps.
*
$IFDEF PLATFORM.D3
PRINT 'Defined.'
$ELSE
PRINT 'Not defined.'
$ENDIF
*
PRINT 'Always print'
Thank you
Thanks!
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.