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
Problem with FileMoveData
Moderator: Moderators
Problem with FileMoveData
- Attachments
-
- test3.zgeproj
- project file
- (377 Bytes) Downloaded 559 times
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.
viewtopic.php?p=6175#6175
Imo, that is much simpler.
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.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