Close Instruction
Syntax:
Close [[#]StreamNum][, ...]
Group:File
Description:
Close StreamNums.
Parameter Description
StreamNum Streams 1 through 255 are private to each macro. Streams 256 through 511 are shared by all macros. If this is omitted then all open streams for the current macro/module are closed.
Example:
Sub Main
' read the first line of XXX and print it
Open "XXX" ForInput As #1
LineInput #1,L$
Debug.Print L$
Close #1
EndSub