View/Edit #456:_contents

Switch to edit mode.

Name(s): _contents
1:  {o, encname} = args
2:  set_task_perms(caller_perms())
3:  t = encname[1]
4:  v = encname[2..$]
5:  if (t == "P")
6:    if (!(v in {"name"}))
7:      pinfo = property_info(o, v)
8:      contents = {v, pinfo[2]}
9:    endif
10:   contents = {@contents, toliteral(o.(v))}
11: elseif (t == "V")
12:   vn = v in verbs(o)
13:   vn == 0 && (vn = v)
14:   return `$xml_dump_utils:dump_verb(o, vn) ! E_VERBNF => 0'
15: elseif (t == "F")
16:   contents = o:fileread(v)
17: endif
18: return contents
19: "Last modified by manta (#7165) on Tue Sep 25 10:46:35 2001 MDT."
20: "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:06 2002 MDT)."
21: "Last modified by Dax (#789) on Sat Aug 17 14:50:06 2002 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]