debug.setupvalue
From GMod Wiki
Function | |
Syntax |
debug.setupvalue( Function function , Integer up , Var value ) Where is this used? |
Description: | |
This function assigns the value of value to the upvalue with index up of the function. The function returns nil if there is no upvalue with the given index. Otherwise, it returns the name of the upvalue. |
|
Returns: | String name of the upvalue. |
Part of Library: | Debug |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Debug.setupvalue]Debug.setupvalue [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- upvalues is basicly locals