Hello there, I just encountered a problem with FILEIOC when programming in ICE.
Here's what I got:
Code:
Normally this should output:
TESTA, Slot: 5
TESTB, Slot: 4
(correct?)
However when archiving TESTA this blows up the Slot from TESTB and I get:
TESTA, Slot: 5
TESTA, Slot: 4
Could this be a bug in FILEIOC (v11.2)? Because it works with version 9.0...
Or do I have to use SetArchiveStatus differently?
Here's what I got:
Code:
iTEST
Begin()
CloseAll()
Open("TESTA","w+")→A
Open("TESTB","w+")→B
SetArchiveStatus(1,A)
Alloc(9)→NAMEA
GetName(NAMEA,A)
PrintStringXY(NAMEA,5,15)
PrintString(", Slot: ")
PrintInt(A,1)
Alloc(9)→NAMEB
GetName(NAMEB,B)
PrintStringXY(NAMEB,5,15)
PrintString(", Slot: ")
PrintInt(B,1)
Pause
CloseAll()
End()
Normally this should output:
TESTA, Slot: 5
TESTB, Slot: 4
(correct?)
However when archiving TESTA this blows up the Slot from TESTB and I get:
TESTA, Slot: 5
TESTA, Slot: 4
Could this be a bug in FILEIOC (v11.2)? Because it works with version 9.0...
Or do I have to use SetArchiveStatus differently?