WhileEx?

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Locked
User avatar
Dudus
Posts: 120
Joined: Wed Sep 07, 2005 12:15 pm
Location: Hungary, Budapest

WhileEx?

Post by Dudus »

I have te following code, what is the problem?

WhileEx "[Reg1]<[#32] or [Reg2]<[#32]"
AlertBox "Error" "Please fill out both of the Input fields"
Else
AlertBox "OK!" "It's okay!"
EndWhile

Beacues no OK message even Reg1 and Reg2 are filled out.
Thnx
D
User avatar
virger
Posts: 540
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Re: WhileEx?

Post by virger »

WhileEx "[Reg1]<[#32] or [Reg2]<[#32]"
AlertBox "Error" "Please fill out both of the Input fields"
Else
AlertBox "OK!" "It's okay!"
EndWhile

"ELSE" IT'S NOT VALID COMMAND IN 'WHILEEX' LOOK HELP
USE "IFEX"

Code: Select all

IfEx "[Reg1]<[#32] or [Reg2]<[#32]"
AlertBox "Error" "Please fill out both of the Input fields"
Else
AlertBox "OK!" "It's okay!"
EndIf
COSTA RICA
PURA VIDA
User avatar
Danito
Posts: 57
Joined: Thu Mar 11, 2010 7:07 pm

Re: WhileEx?

Post by Danito »

Code: Select all

IfEx "[Reg1]<[#32][#32] or [Reg2]<[#32][#32]"
AlertBox "Error" "Please fill out both of the Input fields"
Else
AlertBox "OK!" "It's okay!"
EndIf
User avatar
Dudus
Posts: 120
Joined: Wed Sep 07, 2005 12:15 pm
Location: Hungary, Budapest

Re: WhileEx?

Post by Dudus »

Thank you, works gerat. And thank you for the explanation :)
Locked