Skip to content

Instantly share code, notes, and snippets.

@xpqz
Created June 19, 2021 16:29
Show Gist options
  • Select an option

  • Save xpqz/6891131696bfdddb05da9c95dff58277 to your computer and use it in GitHub Desktop.

Select an option

Save xpqz/6891131696bfdddb05da9c95dff58277 to your computer and use it in GitHub Desktop.
⎕USING←'System.Collections'
openWith←⎕NEW Hashtable
⍝ Add some elements to the hash table. There are no
⍝ duplicate keys, but some of the values are duplicates.
openWith.Add'txt' 'notepad.exe'
openWith.Add'bmp' 'paint.exe'
openWith.Add'dib' 'paint.exe'
openWith.Add'rtf' 'wordpad.exe'
openWith
(⌷openWith).(Key Value)
(openWith).(Keys Values)
System.Collections.Hashtable+KeyCollection System.Collections.Hashtable+ValueCollection
⌷¨(openWith).(Keys Values)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment