N
Noozer
Can I create a Function or Sub in my GLOBAL.ASA file for all pages of my
application to use? If not, how does one do this?
For example, I have an "IIF" function since it isn't natively implemented in
ASP. Currently I have an Include directive on every page that includes the
scripting for this function. I'd rather just declare it once, globally.
'--- Provide IIF functionality to ASP -------------------------------
Function IIF(eval, trueVal, falseVal)
if (eval) then
IIF=trueVal
else
IIF=falseVal
end if
End Function
Thx!
application to use? If not, how does one do this?
For example, I have an "IIF" function since it isn't natively implemented in
ASP. Currently I have an Include directive on every page that includes the
scripting for this function. I'd rather just declare it once, globally.
'--- Provide IIF functionality to ASP -------------------------------
Function IIF(eval, trueVal, falseVal)
if (eval) then
IIF=trueVal
else
IIF=falseVal
end if
End Function
Thx!