darkmaster071 Posted April 12, 2009 Posted April 12, 2009 When i put an If statement in the While, Wend loop it gives me this error: "Wend" statement with no matching "While" statement.: Why isnt it letting me to have If? How do i fix this. Help please.
Mat Posted April 12, 2009 Posted April 12, 2009 (edited) When i put an If statement in the While, Wend loop it gives me this error: "Wend" statement with no matching "While" statement.: Why isnt it letting me to have If? How do i fix this. Help please. no endif probably - post code for a more specific answer. That error usually occurs when you do something like this: While 1 If 1 = 2 Then MsgBox (48, "Test", "If this message actually shows, you have 1 weird computer") Wend you need While 1 If 1 = 2 Then MsgBox (48, "Test", "If this message actually shows, you have 1 weird computer") ENDIF Wend Edited April 12, 2009 by mdiesel AutoIt Project Listing
CodyBarrett Posted April 12, 2009 Posted April 12, 2009 or do this.. While 1 If 1 = 2 Then MsgBox (48, "Test", "If this message actually shows, you have 1 weird computer") Wend [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now