hashtable

September 14, 2025 ยท View on GitHub

Shows how to use hashtable alias.

Sources

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

For key = "rtf", value = wordpad.exe.
For key = "rtf", value = winword.exe.
Value added for key = "ht": hypertrm.exe

Key = ht, Value = hypertrm.exe
Key = doc, Value = winword.exe
Key = bmp, Value = paint.exe
Key = rtf, Value = winword.exe
Key = dib, Value = paint.exe
Key = txt, Value = notepad.exe

erase("doc")
Key "doc" is not found.