Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/write field

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

WRITE FIELD statement Syntax WRITE FIELD[#] deviceID, handle& Description Use this statement to write the contents of the relocatable block specified by handle& to the open file or serial port specified by deviceID, in a format suitable for input by the READ FIELD statement. WRITE FIELD starts writing at the current "file mark" position. If first writes a 4-byte long-integer which indicates the size of the block; following this, it writes the contents of the block itself. Notes If you want to write only the block's contents to the file (without the 4-byte length indicator), use the WRITE FILE statement instead: WRITE FILE# deviceID,[handle&],FN GETHANDLESIZE(handle&) See Also READ FIELD; GET FIELD; WRITE FILE; OPEN