Jump to content

Segmentation fault protection: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(Created Nim solution.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 142:
 
So the example code below compiles:
<syntaxhighlight lang="ecmascriptwren">var myArray = [1, 2, 3, 4, 5, 6]
var myVariable = myArray[500]</syntaxhighlight>
but if you try to run it you get a "Subscript out of bounds" error.
9,476

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.