serious ASP sub routine bug...

T

Tim

Here is a description of my problem...

call mysub (5, 10)

sub mysub (valA, valB)
response.write valB
valA = valA - 1
response.write valB
end sub

this should print out 10 followed by 10.
it doesn't.
it prints 10 followed by 9.

it is taking the 1 off the wrong variable! HOW!
it is not a typo, I've got everyone in the office to check out my code, it
is a real genuine unbelievable bug.

is it known? is it fixable?


Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top