mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-24 06:53:08 +03:00
Merge pull request #520 from brk00/julia-test
Moved println(...) from 'Variables and Collections' section
This commit is contained in:
commit
72ae07dd15
@ -92,13 +92,13 @@ false
|
||||
# Another way to format strings is the printf macro.
|
||||
@printf "%d is less than %f" 4.5 5.3 # 5 is less than 5.300000
|
||||
|
||||
# Printing is easy
|
||||
println("I'm Julia. Nice to meet you!")
|
||||
|
||||
####################################################
|
||||
## 2. Variables and Collections
|
||||
####################################################
|
||||
|
||||
# Printing is easy
|
||||
println("I'm Julia. Nice to meet you!")
|
||||
|
||||
# You don't declare variables before assigning to them.
|
||||
some_var = 5 #=> 5
|
||||
some_var #=> 5
|
||||
|
Loading…
Reference in New Issue
Block a user