Search found 7 matches

by pidgay
18 Jan 2019, 17:47
Forum: Bug Reports
Topic: ahk2exe v1.1.30.01 bug
Replies: 5
Views: 1230

Re: ahk2exe v1.1.30.01 bug

#include file "X:\test\src\src\inc2.ahk" cannot be opened.
real path is "X:\test\src\inc2.ahk"
but ahk2exe v1.1.30.01 assumes "X:\test\src\src\inc2.ahk"

plus,
first include, "X:\test\src\inc1.ahk" is no problem! :o
only second, third, ...
by pidgay
18 Jan 2019, 03:27
Forum: Bug Reports
Topic: ahk2exe v1.1.30.01 bug
Replies: 5
Views: 1230

ahk2exe v1.1.30.01 bug

The problem occurs under the following circumstances: [main folder]\src\inc1.ahk [main folder]\src\inc2.ahk and, [main folder]\main.ahk includes two files above. #Include %A_LineFile%\..\src\inc1.ahk #Include %A_LineFile%\..\src\inc2.ahk compile main.ahk ahk2exe v1.1.29.01 : no problem!! :D ahk2exe ...
by pidgay
14 Sep 2017, 22:27
Forum: Ask For Help
Topic: How can I use parameters in class properties?
Replies: 2
Views: 476

Re: How can I use parameters in class properties?

oh.. I lost the parameter to get value!!
thank you, teadrinker !!!!!!!!!!
by pidgay
14 Sep 2017, 19:51
Forum: Ask For Help
Topic: How can I use parameters in class properties?
Replies: 2
Views: 476

How can I use parameters in class properties?

in document Properties section Parameters can be passed by enclosing them in square brackets to the right of the property name, both when defining the property and when calling it. Aside from using square brackets, parameters of properties are defined the same way as parameters of methods - optional...
by pidgay
09 Sep 2017, 01:50
Forum: Ask For Help
Topic: VarSetCapacity() has VarName bug...
Replies: 5
Views: 1025

Re: VarSetCapacity() has VarName bug...

You should thoroughly read https://autohotkey.com/docs/Objects.htm#Custom_Objects it's probably the most difficult documentation page in Autohotkey but it's very well explained. Oh my god! What I wanna know was in document!! :shock: Your kind answer makes me relieved of anxiety. Thank you! x2 :D
by pidgay
21 Aug 2017, 09:16
Forum: Ask For Help
Topic: VarSetCapacity() has VarName bug...
Replies: 5
Views: 1025

Re: VarSetCapacity() has VarName bug...

o.xx is not a variable name, its an expression which gets the content of the key xx in o . Use setCapacity for an object's fields. If you want to initialise the memory to zero, you can use eg, globalAlloc . Cheers. I understood o.xx is an expression which gets the content of the key xx in o . but f...
by pidgay
21 Aug 2017, 02:58
Forum: Ask For Help
Topic: VarSetCapacity() has VarName bug...
Replies: 5
Views: 1025

VarSetCapacity() has VarName bug...

VarSetCapacity() cannot hold capacity if 'VarName' belongs object . MsgBox % VarSetCapacity(vvv, 20) ; this prints '20' oo := {} MsgBox % VarSetCapacity(oo.x, 20) ; expected '20', but '0' so I can't write like this. class Test { buffer := 0 __New(size) { VarSetCapacity(this.buffer, size) } } I have ...

Go to advanced search