Thursday, February 10, 2011

jBase Infobasic Command CLOSE

Use the CLOSE statement to CLOSE an opened file, which is no longer required.

Command Syntax

CLOSE variable{, variable ...}

Syntax Elements

The variable list should contain a list of previously opened file variables that are no longer needed. The variables will be cleared and may be reused as ordinary variables.
NOTES: You can open an unlimited amount of files within jBASE BASIC; however leaving them open consumes valuable system resources.
Use good practice to hold open only those file descriptors to which you have constant access.

Example

OPEN "DATAFILE" TO FILEVAR ELSE ABORT 201, "DATAFILE"
.....
CLOSE FILEVAR

0 comments:

Post a Comment

 

Blog Info

A Pakistani Website by Originative Systems

Total Pageviews

Tutorial Jinni Copyright © 2015 WoodMag is Modified by Originative Systems