[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01026] Is this a bug?

From: Dave Thomas <Dave@...>
Date: 2000-01-03 16:08:49 UTC
List: ruby-talk #1026
Given the following:

       = 1 
       print 爼 "\n"

(where the variable is an 'a' with a grave accent), I get

       /tc/dave/play/line.rb:2: undefined method `爼'
            for #<Object:0x40197ed4> (NameError)

Comment out the 'print'line, and it runs.

I'm sure I'm missing something obvious, but why is '爭 treated
differently in the two lines?

Regards

Dave

In This Thread

Prev Next