Article ID: 116420
Article Last Modified on 9/30/2003
!IF [Test] != 0
!IF 1 != 0
/* TEST.CPP
Compile options needed: none
*/
#include <stdio.h>
#include <stdlib.h>
int main( int argc, char ** argv )
{
return atoi( argv[1] );
}
# MAKEFILE
#
# Command line options needed: none
#
# The expression [Test 4] - 4 should be preprocessed to be
# 4 - 4, which evaluates to 0 or false. However, NMAKE issues
# the U1023 error instead.
all:
!IF [Test 4] - 4
@echo Expression evaluated to true
!ELSE
@echo Expression evaluated to false
!ENDIF
Additional query words: 1.20 1.30 1.40 exclusive
Keywords: kb16bitonly KB116420