FIELD Variables Unavailable After Random File Is CLOSED (33305)






This article was previously published under Q33305

SUMMARY

Programmers using the Microsoft BASIC Interpreter Versions 1.00, 1.01, 2.00, 2.10, and 3.00 for Macintosh who are converting to Microsoft QuickBASIC for Macintosh (which contains both an interpreter and compiler) must be aware of the following change in accessing variables declared in FIELD statements for use with random-access files:

Whenever a CLOSE, CLEAR, SYSTEM, STOP, END, RESET, or RUN is executed, the variables in a FIELD statement for a random access file are set to null, and are no longer available in the QuickBASIC program.

Modification Type: Minor Last Reviewed: 1/8/2003
Keywords: KB33305