Function GetKixOptions(OPTIONAL $Array)
Dim $aKOptions, $aResp
Dim $I
; Set aKOptions to an array and auto-size to the list provided
$aKOptions="ASCII","CaseSensitivity","DisableDebugging","Explicit","HideCursor","NoVarsinStrings","NoMacrosinstrings",
"WOW64AlternateRegView","Wow64FileRedirection","WrapAtEOL"
; set aResp to the same size as the source
ReDim Preserve ($aResp, UBound($aKOptions))
; Enumerate the list of options and set their name/value pairs
For $I = 0 to UBound($aKOptions)
If $Array
$aResp[$I] = $aKOptions[$I], SetOption($KOptions[$I]) ; return array of arrays
Else
$aResp[$I] = $aKOptions[$I] + "=" + SetOption($KOptions[$I]) ; return array of strings
EndIf
Next
$GetKixOptions = $aResp
Exit 0
EndFunction