Talk:Main Page

From AutoIt Wiki
Revision as of 05:42, 18 September 2013 by Vis (talk | contribs) (→‎How to use if else with @OSArch: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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