VB class copying
Posted: Thu Dec 23, 2004 10:42 am
(fixed the title)
Basically I have a "Class in a variable"(tm) and I'm working on a "flush" function to remove all unused slots (unused being thoes declared to be "set Program_Threads(i) = nothing".) and pile thoes used starting a zero. This frees up some memory for other things.
The problem is I can't seem to find a way to copy one to another. (some variables are read-only and such) directly.
Thanks ahead (I know some people are thinking: "what the hell is this guy doing without knowing how to do <such and such>!!". well , I'm working in unknown (to me) territory (eg. graphics + classes, etc.))
Basically I have a "Class in a variable"(tm) and I'm working on a "flush" function to remove all unused slots (unused being thoes declared to be "set Program_Threads(i) = nothing".) and pile thoes used starting a zero. This frees up some memory for other things.
The problem is I can't seem to find a way to copy one to another. (some variables are read-only and such) directly.
Thanks ahead (I know some people are thinking: "what the hell is this guy doing without knowing how to do <such and such>!!". well , I'm working in unknown (to me) territory (eg. graphics + classes, etc.))