Attempts to convert a value into a 64bit integer.


GML Code Example


Argument Description
val The value to convert.

Returns: 64bit integer


This function will attempt to convert a given value into a 64bit integer, where the value must be either a real, a string, an int64, an int32, or a ptr. Anything else will cause the game to crash with an error message. You can check to see if a variable holds an int64 using the function is_int64.


GML Code Example

steam_handle = int64(global.fileReadString);

The above code converts the value held in the global variable to a 64bit integer.

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