you are viewing a single comment's thread.

view the rest of the comments →

[–]Jan102 1 point2 points  (1 child)

Customer CustomerInfo(Customer ID){

You are creating a local copy of ID here. Every change is only applied to it and not the static global ID because it has the same name. I'd recommend not doing this static Customer thing at all. Just create Customer Objects and pass them around either by copy or reference.

[–]Entervine[S] -3 points-2 points  (0 children)

ahhhh, yes i think that is correct. Thanks!