createFunction

fun createFunction(code: A_BasicObject, copiedTuple: A_Tuple): A_Function

Construct a function with the given code and tuple of copied variables.

Return

A function.

Parameters

code

The code with which to build the function.

copiedTuple

The outer variables and constants to enclose.