Re: vector-fill! seems giving out the wrong result

2007-09-04 Thread Stephen Compall
aladdin wrote: I had a problem when using vector-fill! to fill a dimension of 2D array. Here is my code. Please note the second section of the code. First it generate a 2x2 array with nested make-vector. Then, it called vector-fill! to fill the second row of the array with value 10. But it tur

vector-fill! seems giving out the wrong result

2007-09-04 Thread aladdin
Hi, all. I had a problem when using vector-fill! to fill a dimension of 2D array. Here is my code. Please note the second section of the code. First it generate a 2x2 array with nested make-vector. Then, it called vector-fill! to fill the second row of the array with value 10. But it turns ou