Notes To Self

Environment :: Clarion

Sustenance :: Sprite Zero

Task :: looping through a file, updating a couple of fields

If you’re using logout(1,FILENAME), and using keys in the set() statement before the loop that have the updated fields in them, then strange things will happen! From my experiences tonight … I have a byte field, it is set to true … from false (in this particular eg) … and the loop hits that record twice. Once in it’s normal place (byte flag is zero), and then again at the end (byte flag is true).

I guess this has something to do with logout’s functionality and the key’d fields being updated …

And now … back to work.

Leave a Reply

Your email address will not be published. Required fields are marked *