imk0tter

Untitled

Apr 9th, 2011
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. alias Object {
  2. var %x 1,%y $hget(Objects,$1.INIT),%a ,,
  3. while ($token(%y,%x,32)) {
  4. var %z $v1
  5. if ($isalias(%z $+ . $+ $prop $+ .Public)) {
  6. return $(,$ $+ %z $+ $chr(40) $+ $1 %a $2 %a $3 %a $4 %a $5 %a $6 %a $7 %a $8 %a $9 %a $+ $chr(41) $+ . $+ $prop)
  7. }
  8. inc %x
  9. }
  10. return $catch($1,MemberErr,$prop is not a public member of $isinstance($1))
  11. }
Add Comment
Please, Sign In to add comment