Whenever a C function is called, its upvalues are located at specific pseudo-indices. These pseudo-indices are produced by the macro . The first value associated with a function is at position , and so on. Any access to , where n is greater than the number of upvalues of the current function (but not greater than 256), produces an acceptable but invalid index.