[Top]
|
Method new()
- Method
new
-
object new(string|program prog, mixed ... args)
- Description
-
Instantiate a program.
A new instance of the class prog will be created.
All global variables in the new object be initialized, and
then create() will be called with args as arguments.
- Note
-
These two functions are considered obsolete, use
((program)prog)(@args)
instead.
- See also
-
destruct, compile_string, compile_file
|