- Name:
-
#endif
- Syntax:
-
#IFDEF label #ELSE #ENDIF
#IFNDEF label #ELSE #ENDIF
- Description:
-
This command terminates a #ifdef or #ifndef block. Note that '#endif' must be specified as a single word and that '#end if' cannot be used.
- Applies To:
-
All
- See Also:
-
- Related Create:
-
- Share:
-
- Print:
-
Title
Description
- Code Example:
-
#define clock8
#ifdef clock8
let b1 = 8
#else
let b1 = 4
#endif
#undefine clock8
#ifndef clock8
let b2 = 4
#else
let b2 = 8
#endif
Copy Code
Submit an Example
Submit Your Own Code!
You must be logged in to submit code examples. Login now.