Hello hello! I need help resolving a compilation error. Here’s the contents of my Constants.h file:
#Ifndef CONSTANTS_INCLUDED;
#default CONSTANTS_INCLUDE true;
Constant MAX_ARRAY_LENGTH = 500;
Constant UTILITY_BUFFER_LENGTH = MAX_ARRAY_LENGTH + 4;
! Constant SHORT_LENGTH = 200;
! Constant LONG_LENGTH = 500;
! Constant HUGE_LENGTH = 1000;
Constant DOUBLE_HUGE_LENGTH = 2000;
Constant BUFFER_MEMORY_ROCK 661;
Constant MAXIMUM_MEMORY_BUFFERS 16;
#Endif;
When I include this in my .inf file, I get these compilation errors:
Inform 6.34 for Win32 (21st May 2020)
Constants.h(4): Error: Expected new constant name but found MAX_ARRAY_LENGTH
Constants.h(5): Error: Expected new constant name but found UTILITY_BUFFER_LENGTH
Constants.h(9): Error: Expected new constant name but found DOUBLE_HUGE_LENGTH
Constants.h(11): Error: Expected new constant name but found BUFFER_MEMORY_ROCK
Constants.h(12): Error: Expected new constant name but found MAXIMUM_MEMORY_BUFFERS
These constants aren’t defined elsewhere in my project, so…