| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]

# Method compile_file()

Method compile_file

  `program compile_file(string filename, object|void handler, void|program p, void|object o)`

Description

  Compile the Pike code contained in the file filename into a program.

  This function will compile the file filename to a Pike program that can later be instantiated. It is the same as doing `<font face='courier'><a href='../predef_3A_3A/MasterObject/compile_string.html'>compile_string` (<font face='courier'><a href='../predef_3A_3A/Stdio/read_file.html'>Stdio.read_file (<font face='courier'><a href='../predef_3A_3A/MasterObject/compile_file.html'>filename ), <font face='courier'><a href='../predef_3A_3A/MasterObject/compile_file.html'>filename ).

See also

  compile() , compile_string() , cpp()