Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
19
Task/Classes/AutoHotkey/classes.ahk
Normal file
19
Task/Classes/AutoHotkey/classes.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
obj := new MyClass
|
||||
obj.WhenCreated()
|
||||
|
||||
class MyClass {
|
||||
; Instance Variable #1
|
||||
time := A_Hour ":" A_Min ":" A_Sec
|
||||
|
||||
; Constructor
|
||||
__New() {
|
||||
MsgBox, % "Constructing new object of type: " this.__Class
|
||||
FormatTime, date, , MM/dd/yyyy
|
||||
; Instance Variable #2
|
||||
this.date := date
|
||||
}
|
||||
; Method
|
||||
WhenCreated() {
|
||||
MsgBox, % "Object created at " this.time " on " this.date
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue