<s> def valrdy_to_str ( msg , val , rdy ) : <EOL> str_ = "<STR_LIT:{}>" . format ( msg ) <EOL> nchars = len ( str_ ) <EOL> if val and not rdy : <EOL> str_ = "<STR_LIT:#>" . ljust ( nchars ) <EOL> elif not val and rdy : <EOL> str_ = "<STR_LIT:U+0020>" . ljust ( nchars ) <EOL> elif not val and not rdy : <EOL> str_ = "<STR_LIT:.>" . ljust ( nchars ) <EOL> return str_ </s>
