EU bug??

new topic     » topic index » view thread      » older message » newer message

If you happen to try and open a print file twice, both with the same file
name, EU can't produce an error file. I made that mistake and it took a long
time to find it.... since it occurred after many many reads and writes...
here's the code. I accidently set pageNbr back to zero. You know, thinking
about this, I opened it again for each customer I ran into and it quit in
the H's, so I have no idea what it was doing. HOW could it open the same
output file so may times?? Does it make sense to open the same sequential
file for output multiple times?

procedure header()

    lnCount = 8
    if pageNbr=0 then
            prtFn = open(rptFile, "w")
            puts(prtFn,"+p\n")
            pageNbr=1
        else
            puts(prtFn,"+p\n")
            pageNbr += 1
    end if
......
.....

george

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu