![]() |
![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]()
PREPROCESSOR | #INCLUDE DIRECTIVEDESCRIPTION:
This directive lets you include an *.ins file in to your java-source code.
SYNTAX:
PREPROCESSOR | #DEFINE DIRECTIVEDESCRIPTION:
The #define directive assigns the given value to the specified name. All subsequent occurrences of the name are replaced by the value.
SYNTAX:
#define name value
PARAMETERS
name
value
Example:
This example assigns values to the names "NONZERO" and "USERCLASS":
#define NONZERO 1
PREPROCESSOR | #UNDEF DIRECTIVEDESCRIPTION:
The #undef directive removes the current definition of the specified name. All subsequent occurrences of the name are processed without replacement.
SYNTAX
#undef name
Parameter
name
Example
#undef nonzero#undef USERCLASS
PREPROCESSOR | #IFDEF DIRECTIVEDESCRIPTION:
The #ifdef directive controls conditional compilation of the resource file by checking the specified name. If the name has been defined by using a #define directive, #ifdef directs the compiler to continue with the statement immediately after the #ifdef directive. If the name has not been defined, #ifdef directs the compiler to skip all statements up to the next #endif directive.
SYNTAX
#ifdef name
PARAMETER
name
Example
#ifdef DebugBITMAP 1 errbox.bmp#endif
PREPROCESSOR | #IFNDEF DIRECTIVEDESCRIPTION:
The #ifndef directive controls conditional compilation of the resource file by checking the specified name. If the name has not been defined or if its definition has been removed by using the #undef directive, #ifndef directs the compiler to continue processing statements up to the next #endif directive and then skip to the statement after the #endif directive. If the name is defined, #ifndef directs the compiler to skip to the next #endif directive.
SYNTAX
#ifndef name
PARAMETER
name
Example:
#ifndef OptimizeBITMAP 1 errbox.bmp#endif
PREPROCESSOR | #ENDIF DIRECTIVEDESCRIPTION:
The #endif directive marks the end of a conditional-compilation block defined by a #ifdef directive. One #endif is required for each #ifdef, or #ifndef directive.
SYNTAX
#endif
This directive has no arguments.
PREPROCESSOR | #ERROR DIRECTIVEDESCRIPTION: PREPROCESSOR | #DEBUG DIRECTIVEDESCRIPTION:
The #debug directive prints out a debug message, if the _debug is defined. Otherwise it will not be parsed by the compiler. SYNTAX
#define _debug
#debug
Example:
#define _debug PREPROCESSOR | #WARNING DIRECTIVEDESCRIPTION:
The #warning directive prints out a preprocessor warning. SYNTAX
#warning message PREPROCESSOR | #MAKE & ENDMAKE DIRECTIVEDESCRIPTION:
The #make & #endmake directives lets you insert dos batch commands, right in your source-code. SYNTAX
#make
PREPROCESSOR | #COMPILE DIRECTIVEDESCRIPTION: Compiles file, where the #compile directive is stated .
|
[Home | News | Future views | iavaDraw | iavaZIP | Information | Purchase license | Download | Contact | Consulting | WebService | About | Business | Press releases ] |
Copyright © 1997 SFS Software GbR - All rights reserved. |