< Futurebasic < Language < Reference

DEF BLOCKFILL & DEF LONGBLOCKFILL Statements

DEF BLOCKFILL & DEF LONGBLOCKFILL

Statements

✔ Appearance ✔ Standard ✔ Console

Syntax

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

Revised

July 26, 2000 (Release 3)

Description

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

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

See Also

BLOCKMOVE; STRING$; SPACE$

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.