/// <summary> /// Get the value of the globalvar with the given name. /// </summary> /// <param name="r">The RAM used for this execution.</param> /// <param name="varName">The name of the globavar to get from (nested brack operations execute).</param> /// <returns>The value found in the globalvar with the given name.</returns> public object GetGlobal(RAM r, object varName) { return(GlobalMemory.GetGlobal(r, varName)); }
/// <summary> /// Get the value of the globalvar with the given name. /// </summary> /// <param name="varName">The name of the globalvar.</param> /// <returns>The value found in the globalvar.</returns> public object GetGlobal(string varName) { return(GlobalMemory.GetGlobal(varName)); }