/// <summary> Sets the value at the given coordinates, relative to the current environment. </summary> public static void SetValueAt(VarPos varref, Val value, Environment frame) => GetFrame(varref.frameIndex, frame).SetValue(varref.symbolIndex, value);
/// <summary> Sets the symbol at the given coordinates, relative to the current environment. </summary> public static void SetSymbolAt(VarPos varref, Symbol symbol, Environment frame) => GetFrame(varref.frameIndex, frame).SetSymbol(varref.symbolIndex, symbol);
/// <summary> Retrieves the value at the given coordinates, relative to the current environment. </summary> public static Val GetValueAt(VarPos varref, Environment frame) => GetFrame(varref.frameIndex, frame).GetValue(varref.symbolIndex);
/// <summary> Retrieves the symbol at the given coordinates, relative to the current environment. </summary> public static Symbol GetSymbolAt(VarPos varref, Environment frame) => GetFrame(varref.frameIndex, frame).GetSymbol(varref.symbolIndex);