Page 1 of 1

Problem with FileMoveData

Posted: Tue Nov 05, 2013 11:40 am
by Rado1
FileMoveData cannot use variable defined in ZLibrary. ZGE allows to specify it, but after saving, the .zgeproj file cannot be opened again; "Unknown reference:" exception is reported. How to reproduce:

1. Open the attached file test3.zgeproj.
2. Change var2.Value to var1.Value in the FileMoveData component.
3. Save the project file.
4. Open it again -> exception

Posted: Tue Nov 05, 2013 12:40 pm
by VilleK
I should fix that bug, but I suggest you use the syntax specified in the post below and simply read/write directly to arrays instead of using FileMoveData:

viewtopic.php?p=6175#6175

Imo, that is much simpler.

Posted: Tue Nov 05, 2013 3:48 pm
by Rado1
VilleK wrote:I should fix that bug, but I suggest you use the syntax specified in the post below and simply read/write directly to arrays instead of using FileMoveData
Sure, this is not a serious bug with simple workarounds. I just wanted to use two consequent FileMoveData components to read values to 2 different variables in one of my tests and observed this bug; therefore I reported it.