Trivial, derefs(percent sign) in key name like o.k%i% Topic is solved

Propose new features and changes
User avatar
RobertL
Posts: 546
Joined: 18 Jan 2014, 01:14
Location: China

Trivial, derefs(percent sign) in key name like o.k%i%

24 Sep 2014, 21:08

Code: Select all

o:=new c
i:=1
;	_:=o.k%i%	;Expected, but get error:  Missing space or operator before this. V2;
;				;Ambiguous or invalid use of "." V1
;~ _:=o["k" i]	;correct
ExitApp
class c{
	__Get(k){
		ToolTip % k
	}
}
Trivial, just thought of it.
我为人人,人人为己?
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Trivial, derefs(percent sign) in key name like o.k%i%

25 Sep 2014, 01:16

I don't think that this behaviour should be added.
Recommends AHK Studio
User avatar
RobertL
Posts: 546
Joined: 18 Jan 2014, 01:14
Location: China

Re: Trivial, derefs(percent sign) in key name like o.k%i%

25 Sep 2014, 01:26

If it's easy to add, and not cause other problem..
But I think this doesn't matter too.
我为人人,人人为己?
User avatar
oldbrother
Posts: 273
Joined: 23 Oct 2013, 05:08

Re: Trivial, derefs(percent sign) in key name like o.k%i%

19 Jul 2017, 16:32

Hi lexikos, would you please take a look of my request below?

https://autohotkey.com//boards/viewtopi ... =5&t=34715
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Trivial, derefs(percent sign) in key name like o.k%i%  Topic is solved

02 Dec 2022, 20:51

This is supported by v2, and not planned for v1.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 46 guests