Undefined constant/Scope Missunderstanding

you sir rock!
again thanks!