mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 22:27:35 +03:00
Merge pull request #1547 from bharrisau/patch-1
Update Julia variable names
This commit is contained in:
commit
024818d844
@ -117,11 +117,11 @@ catch e
|
||||
println(e)
|
||||
end
|
||||
|
||||
# Variable names start with a letter.
|
||||
# Variable names start with a letter or underscore.
|
||||
# After that, you can use letters, digits, underscores, and exclamation points.
|
||||
SomeOtherVar123! = 6 # => 6
|
||||
|
||||
# You can also use unicode characters
|
||||
# You can also use certain unicode characters
|
||||
☃ = 8 # => 8
|
||||
# These are especially handy for mathematical notation
|
||||
2 * π # => 6.283185307179586
|
||||
|
Loading…
Reference in New Issue
Block a user