Futurebasic/Language/Reference/print pound

Description
This statement writes information formatted as text to the open file or serial port specified by. The list of 's is interpreted and formatted the same way as in the   statement. normally writes a carriage-return character (ASCII character 13) after writing the final ; to inhibit this behavior, put a comma or a semicolon at the end of the   statement.

is typically used to write data which is to be viewed later in a text editor or word processing program; or to write data which is to be read later by the statement. It generally formats its output differently than the  and   statements, which are better suited for transferring the contents of memory directly to the device. For example, consider this sample program fragment:

In this example, the  statement formats the number as text, and puts out 7 bytes, as follows:

(ASCII code for "-") (ASCII code for "1")  (ASCII code for "6")  (ASCII code for "2")  (ASCII code for "3")  (ASCII code for a space character)  (ASCII code for a carriage-return character)

On the other hand, the  statement puts out the binary contents of. In memory, the short integer  is stored as 1111100110101001; therefore, the  statement puts out these two bytes: