summaryrefslogtreecommitdiffhomepage
path: root/julia.html.markdown
diff options
context:
space:
mode:
authorAdrian Lopez <adrianlzt@gmail.com>2013-12-16 18:41:44 +0100
committerAdrian Lopez <adrianlzt@gmail.com>2013-12-16 18:41:44 +0100
commitb32d26240c5c4c51c7df6b219c656fd11a862410 (patch)
tree454c85bf82367c5f484a1f83e5c71abe1c1bdaa6 /julia.html.markdown
parent6f194db75559eef10ee84e691a5bfdc3914e2ad5 (diff)
Trying to set a value in index 0. Is confusing
Diffstat (limited to 'julia.html.markdown')
-rw-r--r--julia.html.markdown2
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