[m-users.] Any way to write . or : as a character literal?
    Peter Wang 
    novalazy at gmail.com
       
    Sun Dec  6 15:09:47 AEDT 2020
    
    
  
On Sat, 05 Dec 2020 22:51:52 -0500 "Jeremy W. Sherman" <jeremyw.sherman at gmail.com> wrote:
> I was rather perplexed on finding that, while `'x'`, works fine for
> the character literal x, `'.'` and `':'` fail to parse:
> 
> ```
> Syntax error at token ':': operator precedence error.
> Syntax error at token '.': operator precedence error.
> ```
> 
> Since character literals are the same as single-character quoted
> names, is there any way to escape or write either of these outside of
> a circumlocution like `det_from_int(0':)`?
Like this:  ('.') or (':')
Peter
    
    
More information about the users
mailing list