That means that it doesn't exist in your program. You have to write @LEGENDARYMENU by itself somewhere else in your program to define it.