Tutorial by Examples

After installing Julia, to launch the read-eval-print-loop (REPL): On Unix Systems Open a terminal window, then type julia at the prompt, then hit Return. You should see something like this come up: On Windows Find the Julia program in your start menu, and click it. The REPL should be launched...
The Julia REPL is an excellent calculator. We can start with some simple operations: julia> 1 + 1 2 julia> 8 * 8 64 julia> 9 ^ 2 81 The ans variable contains the result of the last calculation: julia> 4 + 9 13 julia> ans + 9 22 We can define our own variables usi...
There are three built-in REPL modes in Julia: the Julia mode, the help mode, and the shell mode. The Help Mode The Julia REPL comes with a built-in help system. Press ? at the julia> prompt to access the help?> prompt. At the help prompt, type the name of some function or type to get help f...

Page 1 of 1