Talk:Main Page: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
(Content Moved (Main-Talk to Community_portal))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''For discussions about the AutoIt Wiki Main Page'''<br>
'''For discussions about the AutoIt Wiki "Main Page".'''<br>
''(Use [[AutoIt_Wiki_talk:Community_portal|Community portal discussion]] page for general AutoIt Wiki talk)''
''(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)''
 
== 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