COMPAT: print statement -> function