Esempio n. 1
0
 /// <summary>
 /// Set the Script with the given name to have the given value, and declare a Script with the given name if none exist already.
 /// </summary>
 /// <param name="r">The RAM used for this execution.</param>
 /// <param name="scriptName">The name of the Script to check for (nested brack operations execute).</param>
 /// <param name="script">The Script to add.</param>
 /// <returns>If a Script exists with the given name.</returns>
 public void SetScript(RAM r, object scriptName, Script script)
 {
     GlobalMemory.SetScript(r, scriptName, script);
 }
Esempio n. 2
0
 /// <summary>
 /// Set the Script with the given name to have the given value, and declare a Script with the given name if none exist already.
 /// </summary>
 /// <param name="scriptName">The name of the Script to alter or declare.</param>
 /// <param name="script">The Script to add.</param>
 public void SetScript(string scriptName, Script script)
 {
     GlobalMemory.SetScript(scriptName, script);
 }