Alert IDL [message #78203] |
Fri, 28 October 2011 04:37  |
Waleria
Messages: 6 Registered: October 2011
|
Junior Member |
|
|
Hi all,
I need to do this, i need to compare two values and if record in the
binary file, but displays a warning and not write in the file.
My code: http://pastebin.com/KBeqf8Gi
Please see the line 39, this correct?
Thanks,
|
|
|
Re: Alert IDL [message #78216 is a reply to message #78203] |
Thu, 03 November 2011 02:26  |
Wout De Nolf
Messages: 194 Registered: October 2008
|
Senior Member |
|
|
On Fri, 28 Oct 2011 04:37:04 -0700 (PDT), Waleria
<waleriantunes@gmail.com> wrote:
> Hi all,
>
> I need to do this, i need to compare two values and if record in the
> binary file, but displays a warning and not write in the file.
>
> My code: http://pastebin.com/KBeqf8Gi
>
> Please see the line 39, this correct?
>
> Thanks,
You have to give WRITEU a "file unit" to which your data should be
written. To get a file unit, you must first open a file with OPENR,
OPENW or OPENU. Don't forget to close it afterwards with FREE_LUN.
|
|
|