#define BOOP "this is the other half of our string"
#define BEEP "This is an entire string"
#define BEEPBOOP "What?"
/obj/Thing
var/stringstring = "This is the first half of our string and [BOOP]"
var/stringstring2 = BEEP
var/stringstring3 = "[BEEPBOOP]"
New(loc)
stringstring = "[BEEP] [BOOP] [BEEPBOOP]"
This results in 2 compile errors
test.dm:5:error: =: expected a constant expression
test.dm:7:error: =: expected a constant expression
Note that using the preprocessor defines in New() works fine, as well as using just the define, but when using it within a string it gives that error only in the initial definition of the variable.