I’ve just recently installed Clarion 10 and am in the process of converting my Clarion 5.5 applications to Clarion 10. A very frustrating procedure. I have the following snippet of code that works correctly the first time it is executed but does not work the next time the window is opened. The code is as follows:
FillQueue ROUTINE FREE(List3) Set(NewExtents) LOOP NEXT(NewExtents) IF ERRORCODE() THEN BREAK. Q3:Extent = NW1:Extent IF LEN(CLIP(Q3:Extent)) > 0 ADD(List3,+Q3:Extent) END END
As you can see, it’s pretty straight forward and worked fine in Clarion 5.5. However in Clarion 10, the first time it reads the NewExtents file and fills the queue correctly. But the next time the window is opened, it reads a totally different file. I’ve stopped the app with the debugger and the filename is correct but the data read is from another file used by the window. I also get no errors like Invalid Record Declaration.
This has me really baffled. Does anyone have any insight into what might be causing this?