RESET

RESET()

Closes all files open with the Open statement.


REMARKS
* The equivalent .NET statement is Microsoft.VisualBasic.FileSystem.Reset
* For the Microsoft documentation refer to learn.microsoft.com

Reset() 

Dim FileNumber As Integer
For FileNumber = 1 To 5
   Open "TEST" & FileNumber For Output As #FileNumber
   Write #FileNumber, "Hello World"
Next FileNumber
Reset

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top