Here's one specific example that comes to mind (though there's other ways to go about this):Why may a user do that, other than because that was more or less the only tool available in AutoHotkey Basic?
First, there are times when the user may purposely store a variable name in another variable so they can have the name handy, and use a double ref to get the variable contents.
Gui, Add, Edit, x16 y10 w130 h20 gOnKeyPress vEditControl, Some Value Gui, Show, w167 h48, GUI return GuiClose: ExitApp OnKeyPress: Gui, Submit, NoHide TrayTip, Edit Control, [color=red]% "Name: " A_GuiControl "`nValue: " %A_GuiControl%[/color]
Why do noobies try to do a lot of odd/newbie things? I was getting at that if they did just want to go through a list of numbered variables, our answer would have to be to use an object instead. This is just one area that I'm opposed to limiting what is available with AHK Basic. Personally as a noobie, I never found dynamic (double ref) variables complicated, so I see no need to remove them - but that's just my opinion. I personally don't need them now that I have more scripting experience.Why would anyone need to do that?
If dynamic variable references were removed, there would be no simple way to loop throught the variable list.
Perhaps I haven't given it enough though, and perhaps it's just because I'm so used to AHK Basic syntax, but it seems odd to allow dynamic function/subroutine calls and not allow dynamic variable calls.
I did not say anything about dynamic function calls/subroutine calls/label jumps, so
Anyway, I trust your judgement on this, & I don't want to postpone real development, that's just my thoughts from when I was learning AHK.