how to get the routeos version

how to get the routeos version to a available?

Something like

:local sysversion
:set sysversion [/system package get [/system package find name=system] version]
:put $sysversion

should do the trick…

Best regards,
Christian Meis