Hi Nathan,
NEXT
must be a statement on its own, nothing behind it (not "Next iLoop" but just 
"Next").
Thomas
Am 10.06.2010 um 22:53PM schrieb Nathan:

> Hello,
>  I'm using this code here to do a loop, and(as I think) do something like a 
> exponential:
> Sub btElev_Click
>    For iLoop = 0 To number2
>       result = number1 * number1
>    Next iLoop
> End Sub
> But when I tried to execute this code, I got this error:
> Microsoft VBScript compilation error - line 155, char 8
> Expected end of statement
> What I need to do?
> 
> Best Regards,
>  Nathan Paulino Campos
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en.

Reply via email to