Logtalk built-in predicate: logtalk_version/3

contents > reference manual > built-in predicates

## `logtalk_version/3`

#### Description

>     logtalk_version(Major, Minor, Patch)

> Returns the Logtalk preprocessor and runtime version.

#### Template and modes

>     logtalk_version(?integer, ?integer, ?integer)

#### Errors

> Major is neither a variable nor an integer:
>   `type_error(integer, Major)`
> Minor is neither a variable nor an integer:
>   `type_error(integer, Minor)`
> Patch is neither a variable nor an integer:
>   `type_error(integer, Patch)`

#### Examples

>     | ?- logtalk_version(Major, Minor, Patch).

previous | glossary | next
Copyright © Paulo Moura — Logtalk.org