Method code for $directories.parse_default_page()

[Turn off line numbering]
  1: arg value, @args;
  2: var object;
  3: 
  4: catch ~objnf, ~namenf, ~invdbref {
  5:     object = $object_lib.to_dbref(value);
  6:     if (object.is($page))
  7:         return object;
  8: } with {
  9:     throw(~check, "default-page must be a valid descendant of $page.");
 10: }
 11: throw(~check, "default-page must be a valid descendant of $page.");

// Brad Roberts
// Bruce Mitchener, Jr.
// Created 16-May-1997 as a part of ColdCore, see: @help Credit

Tlon