Get(ApplicationVersionMajor)

Idea created by hherbst on Aug 16, 2017
    Active
    Score6

    Problem to be solved is getting the major FileMaker version as an integer to base e.g. desicions in scripts upon it.

     

    Today we have custom functions to get this value:

     

    GetAsNumber(GetValue(Substitute( RightWords( Get( ApplicationVersion ); 1); [ "."; ¶ ] );1))

     

    But these can get broken by newer Versions or new output of the Get(ApplicationVersion) function.

     

    For FileMaker it should be easy to implement tweaks of the Get(ApplicationVersion) function in the form of

     

    Get(ApplicationVersionMajor)

    Get(ApplicationVersionMinor)

    Get(ApplicationVersionRevision)

     

    [edit]

    This could also be done in a more convenient way as proposed by Johan: extend the original function with an optional parameter.

     

    Get(ApplicationVersion;[parameter])

    [/edit]

    Thanks for voting

    Holger