Showing the changes to examples/array/array_storage.ck (1 of 486 files). Show all
Unified · Split
| @@ -0,0 +1,9 @@ | |||
| 1 | // multi-dimensional array | ||
| 2 | int a[2][2][2]; | ||
| 3 | // assignment | ||
| 4 | 4 => a[0][0][1]; | ||
| 5 | // access | ||
| 6 | a[0][0][1] => int b; | ||
| 7 | |||
| 8 | // test | ||
| 9 | if ( b == 4 ) <<<"success">>>; | ||