/// <summary> /// Does the given globalvar exist with the given name? /// </summary> /// <param name="r">The RAM used for this execution.</param> /// <param name="varName">The name of the globalvar to check for (nested brack operations execute).</param> /// <returns>If a globalvar exists with the given name.</returns> public bool HasGlobal(RAM r, object varName) { return(GlobalMemory.HasGlobal(r, varName)); }
/// <summary> /// Does the given globalvar exist with the given name? /// </summary> /// <param name="varName">The name of the globalvar to check for.</param> /// <returns>If a globalvar exists with the given name.</returns> public bool HasGlobal(string varName) { return(GlobalMemory.HasGlobal(varName)); }