ZeroMQ version reporting in Delphi

program version;
//
// Report 0MQ version
// @author Varga Balazs <moc.liamg|agrav.bb#moc.liamg|agrav.bb>
//

{$APPTYPE CONSOLE}

uses
SysUtils
, zmqapi
;

var
major,
minor,
patch: Integer;
begin
ZMQVersion( major, minor, patch );
Writeln( Format( 'Current 0MQ version is %d.%d.%d', [major, minor, patch]) );
end.