code_is_compiled

Check to see if the code was compiled using the YoYo Compiler.

Syntax:

GML Code Example

code_is_compiled();


Returns: Boolean


Description

This function will return true if the platform compiles outside of the virtual machine, such as for the YYC and JS platforms.


Example:

GML Code Example

if code_is_compiled()
    {
    show_debug_message("Compiler okay!");
    }
 

The above code checks to see if the game was compiled using the YoYo Compiler and shows a debug message if it was.


Back: Debugging
Next: fps



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here