I know this is a no-brainer but I can't seem to make it happen.
I have a sub that generates a value and it is put into a var called playera
playera is defined globaly.(top of page dim playera)
When I try to use playera in another sub it has no value.
<%sub getpayment
if playera = "1" then
amountdue = "500"
end if
response.write playera%> (I get nothing)
How do I get the value of playera into the new sub?
I have a sub that generates a value and it is put into a var called playera
playera is defined globaly.(top of page dim playera)
When I try to use playera in another sub it has no value.
<%sub getpayment
if playera = "1" then
amountdue = "500"
end if
response.write playera%> (I get nothing)
How do I get the value of playera into the new sub?