Code: Select all
close( (FreeFile()-1) )
Code: Select all
close( (FreeFile()-1) )
Code: Select all
open "xfile" for output as #(freefile())
dim as long ff = FreeFile
close( #(ff-1) )
Code: Select all
'close #(freefile()) ----> crash
close ' closes all open Files (no comment, crash etc.)
Well, not really ... if you check first, if the File is "closed".Tourist Trap wrote:the crash triggered by name()'s call is more a bug
Yes, but more due to the Restriction to, the max. "Files Open" = 255. OS could handle more "open" Files, I think (a FB limitation, probably).Tourist Trap wrote:Shouldn't a file opened via Open(), be closed as fast as possible after the FILES' functions usage that motivates the opening?
The equivalent of a .dll in LIN, is a .so (dynamically loaded LIB, at run-time).b3333734 wrote:If linux doesn't use dll's, what are the equivalents?