Revision [11452]

This is an old revision of KeyPgClear made by JeffMarshall on 2007-11-09 16:17:40.

 

CLEAR


Clears or initializes some memory

Syntax:
Usage:
Clear( dst, value, bytes )

Parameters:
dst
starting address of some memory
value
the value to set all bytes equal to
bytes
number of bytes to clear

Description:
Clear sets one or more bytes in memory to a certain value (the default value is zero (0) if not specified). The starting address is taken from a reference to a variable or array element.

Examples:
Dim array(1 To 100) As Integer
Clear array(1), 0, Len(array(1)) * UBound(array)


Differences from QB:
See also:
Back to Memory Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode