I installed Julia studio 0.4.4, and found it does not support multi-line comments #=...=#
so I wanted to find what version of Julia it is running.
In Matlab one types the command ver which not only shows the version number of matlab, but also the version numbers of all toolboxes installed.
I googled for sometime, but not able to find similar command for Julia. Is there such a command for Julia?
julia> Version ErrorException("Version not defined") julia> ver ErrorException("ver not defined") julia> ver() ErrorException("ver not defined") julia> Version() ErrorException("Version not defined")
Use the versioninfo command: From the documentation: versioninfo([verbose::Bool]) Print information about the version of Julia in use. If the verbose argument is true, detailed system information is shown as well.
REPL stands for read, execute, print, loop. Once Julia is installed, typing Julia at the command line opens the REPL. The REPL has many features that can help you test snippets and debug your code.
Just entering out the constant VERSION
would also display the version number.
julia> VERSION v"0.4.0"
Use the versioninfo
command:
From the documentation:
versioninfo([verbose::Bool]) Print information about the version of Julia in use. If the verbose argument is true, detailed system information is shown as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With