<div>Hi All,</div><div><br></div>The following Scheme code, loop-through-vector iterates through the u16vector  v and increments the elements of v.<br><div> </div><div>(define v (make-u16vector 10 0))</div><div><br></div><div>
(define (loop-through-vector length)</div><div>   (let loop ([j 0])</div><div>       (if(< j length)</div><div>          (begin </div><div>              (u16-vectorset! v j (+  j 1))</div><div>              (loop (+ j1))))))</div>
<div><br></div><div><br></div><div>(define (main)</div><div>   (loop-through-vector (u16vector-length v))</div><div><br></div><div>(main)</div><div><br></div><div>My question is how can I implement loop-through-vector using c-lambda. Most important thing is how can i access u16vector from c-code. If anyone can give me the code for loop-through-vector using c-lambda, that would be so helpful. Or ,is there alternate solutions other than c-lambda.</div>
<div><br></div><div>Regards,</div><div>Rashed  </div>