17 lines · 297 B · Text
RawDownload
// based on Robin Haberkorn's exampleint a[0][2]; // instantiate arraysnew int[2] @=> a["foo"];new int[2] @=> a["bar"]; // fill them23 => a["foo"][0];24 => a["foo"][1];32 => a["bar"][0];42 => a["bar"][1]; // test themif( a["foo"][0] == 23 && a["bar"][1] == 42 )    <<< "success" >>>; 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t