J
J L
I have a sortedlist (ConflictList) that contains a string identifier
(ShipmentNumber) for the key and a structure (AppointmentInfo) for the
value. The structure memebers are strings, dates and intgers (i.e. no
objects).
I pass this sorted list by reference to a function. And do the
following type of loop
dim i as integer
for i = 0 to ConflictList.count - 1
dim apt as AppointmentInfo = _
Ctype(ConflictList.GetByIndex(i), AppointmentInfo)
< Here is my questions:
After some processing I want to change the value of one of the
memebers of the original sorted list...can I do it by simply assigning
the new value to the variable I declared above?>
apt.Door = theNewDoor
<at this point is the original sorted list changed?>
next
I hope my question makes sense. I get totally confused with the
reference/value/scope issues. Like a mind twister for me :>)
TIA
John
(ShipmentNumber) for the key and a structure (AppointmentInfo) for the
value. The structure memebers are strings, dates and intgers (i.e. no
objects).
I pass this sorted list by reference to a function. And do the
following type of loop
dim i as integer
for i = 0 to ConflictList.count - 1
dim apt as AppointmentInfo = _
Ctype(ConflictList.GetByIndex(i), AppointmentInfo)
< Here is my questions:
After some processing I want to change the value of one of the
memebers of the original sorted list...can I do it by simply assigning
the new value to the variable I declared above?>
apt.Door = theNewDoor
<at this point is the original sorted list changed?>
next
I hope my question makes sense. I get totally confused with the
reference/value/scope issues. Like a mind twister for me :>)
TIA
John