ASP is a technology, not a language. I use JScript for my ASP programming, so the statement you have would work fine if you have <% @language="jscript" %> at the top of the page.
I suspect you just want that statement translated to VBScript, which would be:
Code:
If (num >=0 And num < 10) Then
[b][red]functionname[/red][/b] = "0" & num
Else
[b][red]functionname[/red][/b] = num
End If
You would use the name of the function where I wrote [red]functionname[/red].
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.