Logtalk reference manual
Built-in predicate: logtalk_version/3

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).