"Field Statement Active" (Error 56) on Basic PUT Statement (79883)
The information in this article applies to:
- Microsoft QuickBASIC 4.5
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
This article was previously published under Q79883 SUMMARY
Error 56, "Field Statement Active," will occur on a PUT statement if
you attempt to PUT a variable DIMensioned as a TYPE record structure,
to a RANDOM file for which there is an active FIELD statement.
If a file has been FIELDed, you must use the FIELD variable(s) to PUT
or GET information to or from the file. To use a TYPE variable, you
must first CLOSE the file and then reOPEN it.
This information applies to Microsoft QuickBasic version 4.5 for
MS-DOS and Microsoft Basic Professional Development System (PDS)
versions 7.0 and 7.1 for MS-DOS and MS OS/2.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB79883 |
---|
|