Difference between revisions of "Manual:DIL Manual/findroom()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
<span id="bffindr"></span>
 
  unitptr findroom ( s : string )
 
  unitptr findroom ( s : string )
 
     s : Symbolic name of room.
 
     s : Symbolic name of room.
Line 4: Line 5:
 
     Example: findroom("inn@udgaard")
 
     Example: findroom("inn@udgaard")
  
Will return the unitptr to the room. If the symbolic name is not a room then NULL will
+
---~---~---~---~---~---~---~---~---
be returned.  Using findsymbolic(#) is equally efficient and does the same except it
+
<span id="bffindr"></span>
returns any type. This function is really mostly here for historical reasons.
+
unitptr findroom ( s : string )
 +
    s : Symbolic name of room.
 +
    return: A pointer to the room, or null
 +
    Example: findroom("inn@udgaard")
 +
 
 +
---~---~---~---~---~---~---~---~---

Latest revision as of 22:39, 4 December 2025

unitptr findroom ( s : string )
   s : Symbolic name of room.
   return: A pointer to the room, or null
   Example: findroom("inn@udgaard")
---~---~---~---~---~---~---~---~---

unitptr findroom ( s : string )
   s : Symbolic name of room.
   return: A pointer to the room, or null
   Example: findroom("inn@udgaard")
---~---~---~---~---~---~---~---~---