new

Inside methods, procedure new is available without namespace qualifer.

obj new $class
returns newly created instance of class $class.

Example:

% obj new line
::obj::inst::13
%

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z