N
Noozer
Having a bad day here..
I need to create a custom function in an ASP page... (and please let me know
if there's a better group to ask in)
Since ASP does not have a MAIN funtion or LOAD event, code just starts at
the first ASP statement... so where do I define a custom function? How do I
return a value from a function?
This is what I'd like to add...
function toNum(val)
if ISNUMERIC(val) THEN
return cint(val)
else return 0
end if
end function
I need to create a custom function in an ASP page... (and please let me know
if there's a better group to ask in)
Since ASP does not have a MAIN funtion or LOAD event, code just starts at
the first ASP statement... so where do I define a custom function? How do I
return a value from a function?
This is what I'd like to add...
function toNum(val)
if ISNUMERIC(val) THEN
return cint(val)
else return 0
end if
end function