---
name: "wml::mod::version"
section: "3"
platform: "linux"
package: "wml"
version: "2.32.0~ds1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/wml::mod::version"
---

# wml::mod::version(3)

Checks WML version number

## NAME

wml::mod::version - Checks WML version number

## SYNOPSIS

```
 #use wml::mod::version
 <require 1.7.1 />
```

## DESCRIPTION

As WML evolves, some new features appear and some input files requires new version to be processed. This include file provides the `"<require>"` tag, which checks whether running WML program is new enough to process input file.

## ATTRIBUTES

The `"<require>"` tag takes an argument : the WML version number needed to process the file in which this tag appears. This number is a dot separated list of 3 numbers, from left to right : version, revision and patchlevel.

Comparison between numbers is numerical, so that 1.7.50 \> 1.7.6

## AUTHOR

```
 Denis Barbier
 barbier@engelschall.com
```

## REQUIRES

```
 Internal: P2
 External: --
```
