Talk:Main Page
Jump to navigation
Jump to search
For discussions about the AutoIt Wiki "Main Page".
(See the Community portal page for general info on AutoIt Wiki)
(Use the Community portal discussion page for general AutoIt Wiki talk)
How to use if else with @OSArch
Hi All,
Thanks in advance for the help
I have some code which is running successfully but not giving the output.
here it is
Func BitCompatibility()
Local $OStype
$OStype = @OSArch
If $OStype == "X64" Then
MsgBox(0,64,$OStype)
ElseIf $OStype == "X86" Then MsgBox(0,32,$OStype)
EndIf EndFunc