Method code for $foundation.configure()

[Turn off line numbering]
  1: arg set;
  2: 
  3: // This is for post-creation configuration of a VR object.  It is used
  4: // to interactively configure the VR aspects and behaviour of an object.
  5: // It should be optional, any command hooking into confingure should check
  6: // for a -conf?igure option first (which would imply skipping configuration).
  7: //
  8: // Overriding methods should pass() first, giving priority to their
  9: // ancestors.  The argument 'set' is a dictionary with symbol keys
 10: // defining what has been set.  Use the definer's name + "_" + setting
 11: // as the name of the key ("name" on $has_name would be 'has_name_name).
 12: // If something is already in the set dictionary, do not re-set it
 13: // again (for instance, if the command hooking into configure accepted
 14: // the name of the object on it's command line it would put
 15: // 'has_name_name in the dictionary and $has_name.configure() would not 
 16: // prompt for the name).
 17: //
 18: // "@skip" should always skip the setting, and not alter it.
 19: // if .prompt() returns 'aborted, throw ~abort.
 20: //
 21: (> .perms(sender()) <);
 22: return set;

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark