Rasmus Sorensen:
> But when I try to access the individual items it seems to fail
> UI.messagebox ("layer: " + YV_layer_array[0].to_s)
> =>output will be: "layer: 57"
> (which is wrong. It should be 108. I have no idea where 57 comes from)

Could thin in any case be the character code of "9"? Ruby 1.8.7 behaves
like that:

> "9"[0]
57

- [murphy]

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to