From: Rasmus Sorensen Date: 2012-06-20T03:10:34+09:00 Subject: Access array data - problem hi! I'm having a problem with my array: UI.messagebox ("layers: " + YV_layer_array.to_s) =>output will be: "layers: 108, 190, 95" (which is what I expected) 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) Can anyone tell me how to access each items individually? regards Rasmus -- Posted via http://www.ruby-forum.com/.