Thanks for your replies. John, you were right..part of the mistake was I had to put an enter! but also I had IsNumeric(sNumber) = 0, well the = 0 should have been on the next line InStr(sNumber,".")=0.
Anyway, this thing drove me crazy but at the same time it was nice to finally solve...
Hi,
This is a very simple example. I'm just beginning to learn VBScript. I keep getting an error message "Expected 'End" or "Expected 'Then" when running this code. It is out of a book and I copied it exactly. It's driving me crazy. Someone please help!!!
<HTML>
<HEAD>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.