Dynamic variable names

From Rosetta Code
Revision as of 05:38, 2 June 2009 by rosettacode>Tinku99 (dynamic variables in autohotkey)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Task
Dynamic variable names
You are encouraged to solve this task according to the task description, using any language you may know.

Create a variable with a user defined name.

AutoHotkey

<lang AutoHotkey> inputbox, dynamic, variable name %dynamic% = hello ListVars msgbox % %dynamic%  ; says hello </lang>