Next Previous Contents

20. byte_compile_file

Synopsis

Compile a file to byte-code for faster loading.

Usage

byte_compile_file (String_Type file, Integer_Type method)

Description

The byte_compile_file function byte-compiles file producing a new file with the same name except a 'c' is added to the output file name. For example, file is "site.sl", then the function produces a new file named site.slc.

Notes

The method parameter is not used in the current implementation. Its use is reserved for the future. For now, set it to 0.

See Also

evalfile


Next Previous Contents