Friday 22 April 2016

Julia: evaluate expression in terminal (or) command prompt


Use ‘julia –e’ to evaluate julia expression from command prompt (or) terminal.

$ julia -e 'a=15;println(a)'
15
$
$ julia -e 'name="Hari Krishna";age=26;println(name);println(age)'
Hari Krishna
26


Previous                                                 Next                                                 Home

No comments:

Post a Comment