check for monkey2 version?

About Monkey 2 Forums Monkey 2 Development check for monkey2 version?

This topic contains 4 replies, has 3 voices, and was last updated by  nerobot 1 year, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8983

    AdamStrange
    Participant

    Hi Mark, is there code to check which monkey2 version is being used? some sort of #mx2_ver os something like that?

    #9006

    Mark Sibly
    Keymaster

    Not yet, preprocessor doesn’t handle ints, <, > etc yet so it’s probably not much use.

    #9024

    Mark Sibly
    Keymaster

    Thinking about this a bit more, one approach would be:

    #If __VERSION_01_01_05__    ‘mx2cc version is 1.1.05 *or greater*

    #endif

    #9032

    AdamStrange
    Participant

    it’s not really that important, but something along that would be a good option 😉

    #9036

    nerobot
    Participant

    Maybe this code will be useful:

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.