next up previous contents index
Next: IndexedVariable Up: Bits Previous: false,true   Contents   Index


set!


\begin{usage}
b.n := v\\ set!(b, n, v)
\end{usage}


Signature


\begin{params}
{\em b} & \% & A set of bits\\
{\em n} & \htmlref{\texttt{Mach...
...{\em v} & \htmlref{\texttt{Boolean}}{Boolean} & A binary value\\\end{params}

\begin{retval}
Sets the ${n}^{{\rm th}}$\ bit of $b$\ to $v$\ and returns $v$,
the first index being $1$.
\end{retval}


Manuel Bronstein 2000-12-13