Re: close(writefile)

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

Another good idea (probably in addition to this, but even on its own) would be to add an is_open() function, that takes an integer and test whether or not that integer currently can be used to represent a valid, open file.

There is a problem with this.

integer fn = open(this) 
close(fn) 
integer fn2 = open(that) 

Both fn and fn2 will have the same value (3)

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu