Futurebasic/Language/Reference/def blockfill

From Wikibooks, open books for an open world
< Futurebasic‎ | Language‎ | Reference
Jump to: navigation, search

DEF BLOCKFILL & DEF LONGBLOCKFILL Statements[edit]

DEF BLOCKFILL & DEF LONGBLOCKFILL[edit]

Statements[edit]

✔ Appearance ✔ Standard ✔ Console

Syntax[edit]

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

Revised[edit]

July 26, 2000 (Release 3)

Description[edit]

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]

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

See Also[edit]

BLOCKMOVE; STRING$; SPACE$