-set!</tt> procedure stores <i>char</i> in element </p>

<p class=noindent><em>k</em> of <i>string</i>
and returns unspecified values.  </p>
<p>
Passing an immutable string to <tt>string-set!</tt> should cause an exception
with condition type <tt>&amp;assertion</tt> to be raised.
</p>

<tt>(define&nbsp;(f)&nbsp;(make-string&nbsp;3&nbsp;<tt>#</tt><tt>\</tt>*))<br>
(define&nbsp;(g)&nbsp;&quot;***&quot;)<br>
(string-set!&nbsp;(f)&nbsp;0&nbsp;<tt>#</tt><tt>\</tt>?)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp