From: Josef 'Jupp' SCHUGT Date: 2003-11-23T22:08:39+09:00 Subject: Re: Destructive type conversion (to_i!, to_f!) Hi! * Charles Comstock; 2003-11-22, 23:55 UTC: > ARGV[0].to_i! > if(ARGV[0] > 5) {...} For me the least surprising answer to the question what a = [0,1,2,3,4,5] a[10].to_i! p a results in given the choices a) [0, 1, 2, 3, 4, 5] b) [0, 1, 2, 3, 4, 5, nil, nil, nil, nil, 0] c) syntax error is c. Josef 'Jupp' Schugt -- .-------. message > 100 kB? / | | sender = spammer? / | R.I.P.| text = spam? / ___| |___