From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Compile(OptimizationLevel as OptimizationLevels) As MemoryBlock

New in 2020r1

Supported for all project types and targets.

Compiles the source then returns the compiled code.


This allows you to compile the code for storage so that it can be loaded and run without having to be compiled again.

See Also

Run method.