Talk:Main Page: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(→How to use if else with @OSArch: new section) |
||
Line 2: | Line 2: | ||
''(See the [[AutoIt_Wiki:Community_portal|Community portal]] page for general info on AutoIt Wiki)''<br> | ''(See the [[AutoIt_Wiki:Community_portal|Community portal]] page for general info on AutoIt Wiki)''<br> | ||
''(Use the [[AutoIt_Wiki_talk:Community_portal|Community portal discussion]] page for general AutoIt Wiki talk)'' | ''(Use the [[AutoIt_Wiki_talk:Community_portal|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 |
Latest revision as of 05:42, 18 September 2013
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