Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
7.2::

Method new()


Method new

object new(string|program prog, mixed ... args)

Description

Instantiate a program (Pike 7.2 compatibility).

A new instance of the class prog will be created. All global variables in the new object be initialized, and then lfun::create() will be called with args as arguments.

This function was removed in Pike 7.3, use ((program)prog )(@args ) instead.

Deprecated
See also

destruct() , compile_string() , compile_file() , clone()