Futurebasic/Language/Reference/def blockfill

From Wikibooks, open books for an open world
Jump to navigation Jump to search

DEF BLOCKFILL & DEF LONGBLOCKFILL Statements[edit | edit source]

DEF BLOCKFILL & DEF LONGBLOCKFILL[edit | edit source]

Statements[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax[edit | edit source]

DEF BLOCKFILL(startAddr&, numBytes&, byteValueExpr)
DEF LONGBLOCKFILL(startAddr&, numBytes&, byteValueExpr)

Revised[edit | edit source]

July 26, 2000 (Release 3)

Description[edit | edit source]

Fills each byte in a range of memory with the value specified in byteValExpr. The startAddr& parameter indicates the first memory address to fill, and numBytes& indicates the number of bytes in the range. DEF BLOCKFILL and DEF LONGBLOCKFILL are identical.

Example[edit | edit source]

image res/cd.gif CD Example: DEF BLOCKFILL.BAS

See Also[edit | edit source]

BLOCKMOVE; STRING$; SPACE$