Or write the values individually as exactly the type you want: myArray.do({ |value| f.putFloat(value) }); ... that is, converting the individual values at the time of writing, rather than converting the array. Converting the array implies necessarily making a new array, so if you don't want to make a copy, then I suppose converting the whole array is not really what you're after. hjh On Dec 28, 2008, at 9:01 PM, koonce@xxxxxxxxxxxxx wrote:
: H. James Harkins .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..: "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |