Upps, I just got the tipp that I must activate the constant in the compiler options first. Wasn't aware about this (used the build constant for the first time, as it was included in a forum source...).
Maybe the compiler could give a warning, instead of just telling "constant not found..."?