@Coco, thx for sharing your json class, it helped me a lot.
I noticed in your example that second param for JSON.parse is using default value. Because of it, array stringify fails...just making sure that example runs flawlessly
To modify: JSON.parse(src,1)
Search found 4 matches
- 27 Aug 2014, 09:31
- Forum: Scripts and Functions (v1)
- Topic: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey
- Replies: 77
- Views: 68051
- 27 Jul 2014, 10:51
- Forum: Ask for Help (v1)
- Topic: Strings and %'s and .'s
- Replies: 2
- Views: 1188
Re: Strings and %'s and .'s
I did c/p your middle code and run ( win7, AHKA32 v1.1.15.02). No exception, it works. Maybe there is something in the environment u're running ?
- 27 Jul 2014, 03:20
- Forum: Ask for Help (v1)
- Topic: (SOLVED) Dynamically calling class method from a label
- Replies: 2
- Views: 1807
Re: Dynamically calling class method from a label
Ty for reply, and solution. I get it now. Did your suggestion on storing object ref. Here's example for anyone to stumble across it #SingleInstance Force #Persistent a := new someClass() a.setTimer() class someClass{ setTimer(){ setTimerForMethod(this,this.test,3000) } test(){ msgbox % "Hello ! some...
- 26 Jul 2014, 17:28
- Forum: Ask for Help (v1)
- Topic: (SOLVED) Dynamically calling class method from a label
- Replies: 2
- Views: 1807
(SOLVED) Dynamically calling class method from a label
Hi, I run into some difficulty. Please if someone can shed some light why can't i run class method inside a label. I have marked the code line in question. I think I can solve this prob with RegisterCallback and DllCall, but I'am trying to understand OOP and wanna do the oop way. #Persistent a := ne...