In Classic ASP, I have an object, call it bob
. This then has a property called name
, with let
and get
methods.
I have a function as follows:
sub append(byref a, b)
a = a & b
end sub
This is simply to make it quicker to add text to a variable. I also have the same for prepend
, just it is a = b & a
. I know it would be simple to say bob.name = bob.name & "andy"
, but I tried using the above functions and neither of them work.
The way I am calling it is append bob.name, "andy"
. Can anyone see what is wrong with this?