printMsg method

void printMsg (String msg, [ bool linebreak ])