Maybe I was thinking of RESET???.
Anyway the file is definitely not open.
W.
-----Original Message-----
From: Edwards, Waverly [mailto:Waverly.Edwards@...]
Sent: Thursday, November 14, 2002 9:25 AM
To: 'futurebasic@...'
Subject: RE: [FB] close problem
From what I recall, close without any parameters closes all open files.
When you use CLOSE #fileNumber and the file is not open you will get a file
not open
error.
If you got this error message just using CLOSE without any parameters then
there
were no files open.
Check the manual for CLOSE to confirm but I'm pretty sure I'm correct.
W.
-----Original Message-----
From: Alain Wrobel [mailto:wrobel@...]
Sent: Thursday, November 14, 2002 8:12 AM
To: futurebasic@...
Subject: [FB] close problem
Hello,
I am porting a FB^3 V6 project on V7 and it seems that the
CLOSE command without argument returns a file not open error (-38) in
V7 and not in V6.
Is it a bug ?
Alain.
dim osErr
osErr=SYSERROR
SYSERROR=_noErr
print "before"osErr
CLOSE
osErr=SYSERROR
SYSERROR=_noErr
print "after"osErr
do
until fn button
--
_________________________________________________________________
A. Wrobel *GREGUM-UMR ESO, Université du Maine*Tel:02-43-83-35-44
_________________________________________________________________
--
To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
--
To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>