GM_runtime_version


描述

This constant hold the runtime version number as defined in the Preferences as the runtime being used to build the project. The value is stored as a string.


语法:

GM_runtime_version;


返回:

String(字符串)


例如:

draw_text(32, 32, date_time_string(GM_build_date));
draw_text(32, 64, "v" + GM_version);
draw_text(32, 96, "Runtime " + GM_runtime_version);

The above code takes the GM date, version and runtime constants and draws them to the screen.