I posted this the other day, but thought I would post in a separate topic instead. #include <MsgBoxConstants.au3>
; ---- Start of Person Class
; Stored in the 'object' to verify it's our 'object' and not some random array
Global Const $PERSON_GUID = '4197B285-6AB1-489B-8585-08C852E33F3D'
; Friendly names for 0, 1, 2 and 3
Global Enum $PERSON_AGE, $PERSON_NAME, $PERSON_ID, $PERSON_MAX
; Constructor
Func Person($sName, $iAge)
Local $hPerson[$PERSON_MAX]
; Set the GUID, so as the verification will work
$hPerson[$PERSON_ID] = $PERSO