is_platform_key Function

public elemental function is_platform_key(key)

Check if a key (os or compiler) can be used for platform setting

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key

Return Value logical


Source Code

    elemental logical function is_platform_key(key)
        character(*), intent(in) :: key
        
        call validate_compiler_name(key, is_platform_key)
        if (is_platform_key) return

        call validate_os_name(key, is_platform_key)
        if (is_platform_key) return        
        
    end function is_platform_key