Method compile_string()


Method compile_string

program compile_string(string source, string|void filename, object|void handler, void|program p, void|object o, int|void show_if_constant_errors)

Description

Compile the Pike code in the string source into a program. If filename is not specified, it will default to "-".

Functionally equal to compile(cpp(sourcefilename)).

See also

compile(), cpp(), compile_file()