Variable assignment
Johan Granberg
lijat.meREM at OVE.gmail.com
Mon Mar 26 11:47:22 PDT 2007
okibi wrote:
> I've been writing an xml editor and testing some code. I ran into this
> problem with 1.006+ (didn't have the problem in 1.00, jumped straight to
> 1.006 after that).
>
> The problem is declaring variables in a class, and then setting them
> within a function inside the class. For example, I declare both var1 and
> var2. I use an open function and set var1 to the file selected. Then I run
> an export function and set var2 to that file. When I issue the save
> function afterwords, var1 was adjusted to the same value as var2. I found
> out that this happens while setting var2.
>
> Any tips or do you need more info?
If you can show us the source it would probably help.
More information about the Digitalmars-d-bugs
mailing list