
string **variables(object ob)
({ vartype, varname })
where vartype includes any keywords in the variable definition as well as the type.
Only variables defined globally in the program of the object are included, i.e. variables in inherited objects and those local to functions are omitted.
private mapping foo; string *bar;
With this object variables would return:
({ ({ "private mapping", "foo" }), ({ "string *", "bar" }) })
HTMLised 1998 Greg Lewis (glewis@maths.adelaide.edu.au)