diff options
author | Adrian Lopez <adrianlzt@gmail.com> | 2013-12-16 18:41:44 +0100 |
---|---|---|
committer | Adrian Lopez <adrianlzt@gmail.com> | 2013-12-16 18:41:44 +0100 |
commit | b32d26240c5c4c51c7df6b219c656fd11a862410 (patch) | |
tree | 454c85bf82367c5f484a1f83e5c71abe1c1bdaa6 | |
parent | 6f194db75559eef10ee84e691a5bfdc3914e2ad5 (diff) |
Trying to set a value in index 0. Is confusing
-rw-r--r-- | julia.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/julia.html.markdown b/julia.html.markdown index d1e17a26..4869e207 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -210,7 +210,7 @@ length(a) #=> 8 tup = (1, 2, 3) #=> (1,2,3) # an (Int64,Int64,Int64) tuple. tup[1] #=> 1 try: - tup[0] = 3 #=> ERROR: no method setindex!((Int64,Int64,Int64),Int64,Int64) + tup[1] = 3 #=> ERROR: no method setindex!((Int64,Int64,Int64),Int64,Int64) catch e println(e) end |