|
GetFileStatus | ||
Status = GetFileStatus(ChannelIndex) | ||
Parameters: ChannelIndex = The index of the file channel you wish to query |
||
Returns: Status = The current status of this file channel (0= free / 1= In use) |
||
The GetFileStatus function returns the current status of a file channel. If a file channel is free, GetFileStatus will return a 0 (free) and a 1 (true) if it's not. FACTS: * None Mini Tutorial: This example uses GetFileStatus to validate a file channel is free for use prior to using it.
This example would output the following since all file channels are free when the program starts.
|
Related Info: | EndOfFile | GetFilePos | OpenFile | ReadFile | WriteFile : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |