V
Victor H. Goff III
[Note: parts of this message were removed to make it a legal post.]
I know that the reverse is 65.chr
but I can find no documentation for this (aside from the above line)
And I wanted to find out more about it, so am trying things like:>> ?A
=> 65SyntaxError: compile error
(irb):2: syntax error, unexpected '}'
from (irb):2(irb):5: warning: invalid character syntax; use ?\s
SyntaxError: compile error
(irb):5: syntax error, unexpected '?'
hi.each {|letter| puts letter.? }
^
from (irb):5SyntaxError: compile error
(irb):6: syntax error, unexpected tINTEGER
hi.each {|letter| puts letter.?\s }
^
from (irb):6SyntaxError: compile error
(irb):7: syntax error, unexpected tINTEGER
hi.each {|letter| puts letter.?\s65 }
^
from (irb):7
I know that the reverse is 65.chr
but I can find no documentation for this (aside from the above line)
And I wanted to find out more about it, so am trying things like:>> ?A
=> 65SyntaxError: compile error
(irb):2: syntax error, unexpected '}'
from (irb):2(irb):5: warning: invalid character syntax; use ?\s
SyntaxError: compile error
(irb):5: syntax error, unexpected '?'
hi.each {|letter| puts letter.? }
^
from (irb):5SyntaxError: compile error
(irb):6: syntax error, unexpected tINTEGER
hi.each {|letter| puts letter.?\s }
^
from (irb):6SyntaxError: compile error
(irb):7: syntax error, unexpected tINTEGER
hi.each {|letter| puts letter.?\s65 }
^
from (irb):7