error chacking to macros, macros are deffed until end of line, and fixed
non-portable print statement