P
Phil Hunt
I have a problem with a struct that has a function.
There is no problem with the assigning value to the individual data item.
But when I have a line that invoke a function (very simple), it won't
compile, saying "Use of unassigned local variable ___". If I instantiate
the struct using the "new" word, everything works. What could be the
problem. The construct works in some of my program, but not this particular
one.
Thanks.
There is no problem with the assigning value to the individual data item.
But when I have a line that invoke a function (very simple), it won't
compile, saying "Use of unassigned local variable ___". If I instantiate
the struct using the "new" word, everything works. What could be the
problem. The construct works in some of my program, but not this particular
one.
Thanks.