comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Yes, probably, you're right
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Yes, probably, you're right [message #38983] Fri, 16 April 2004 02:30
wl2776 is currently offline  wl2776
Messages: 13
Registered: February 2004
Junior Member
> Have you made some more elementary mistake, like passing an incorrect
> unit number? For example, the following would leave file1 opened:
>
> openw, u, file1, /GET_LUN
> openw, u, file2, /GET_LUN
> ...write some stuff
> free_lun, u
> free_lun, u

Initially my code was like following:
openw, u, file1, /get_lun
... write stuff
close, u
free_lun, u

openw, u, file2, /get_lun
... write stuff
close, u
free_lun, u

The file2 was left opened.

I've changed it to the following:

openw, u, file1, /get_lun
... write stuff
close, u

openw, u, file2
... write stuff
free_lun, u

And now everything works fine.
[Message index]
 
Read Message
Previous Topic: catching of wheel button / wheel scroll events?
Next Topic: Re: reading pixels from images from automated XYpositions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:23:49 PDT 2025

Total time taken to generate the page: 1.20048 seconds