frameAtPut

fun A_Continuation.frameAtPut(index: Int, value: AvailObject): AvailObject

Update the continuation frame slot at the given index. The continuation must be mutable. Frame slots are numbered starting at 1, and consist of the arguments, primitive failure variable (if defined), locals, and then an operand stack that grows from the top down.

Answer the receiver to make generated chains more compact.

Return

The receiver.

Parameters

index

The one-based index into this frame data.

value

The value to write at that index.