Futurebasic/Language/Reference/write file

Syntax
Write File[#] deviceID, address&amp;, numBytes&amp;

Description
This statement writes  of data to the open file or serial port specified by , starting at the current Òfile markÓ position. The data is copied from the memory which starts at. This is generally the fastest way to write a large amount of data to a file.

Example
This program fragment saves the binary image of an array into an open file. You can later use the  statement to quickly load the array using the data in the file (see the example accompanying the   statement).

_maxSubscript = 200 Dim myArray%(_maxSubscript) arrayBytes&amp; = (_maxSubscript+1) * SizeOf(Int) Write File #1, @myArray%(0), arrayBytes&amp;