Jump to content

syntax error can some one help


 Share

Recommended Posts

You missed the While condition. Put a 1 there if you want it to always be true (Infinite loop)

While 1
    If $name = "" Then
        ExitLoop
    Else
        MsgBox(0,"",$name)
    EndIf
WEnd

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to comment
Share on other sites

I'm not sure I understood what you meant with "behind a while".

You can use any condition, just like in a regular If statement. For example:

$Variable = 1
While ($Variable < 10)
    $Variable = $Variable + 1
WEndoÝ÷ ØêÚºÚ"µÍÌÍÕ[YH[Y[]

BÚ[H
[YY
    ÌÍÕ[YH   È
L
BÛY
L
BÑ[

You can use the tags [­autoit][/­autoit] to put autoit code instead of the regular [­code][/­code].

The code gets colored :P

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...