Compile Method Compile() When implemented by a class, initializes script engine and compiles the script. Declaration bool Compile() Returns Type Description Boolean True if succeed, otherwise false.