| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]

# Method compile_string()

Method compile_string

  `program compile_string(string source, void|string filename, object|void handler, void|program p, void|object o, void|int _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 `<font face='courier'><a href='../predef_3A_3A/compile.html'>compile` (<font face='courier'><a href='../predef_3A_3A/cpp.html'>cpp (<font face='courier'><a href='../predef_3A_3A/MasterObject/compile_string.html'>source , <font face='courier'><a href='../predef_3A_3A/MasterObject/compile_string.html'>filename )).

See also

  compile() , cpp() , compile_file()