1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 01:04:10 +02:00

Merge pull request #1547 from bharrisau/patch-1

Update Julia variable names
This commit is contained in:
Levi Bostian
2015-10-18 12:03:28 -05:00

View File

@@ -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