Unit 'EXEC' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

InitStruct

Initialize memory from a table

Declaration

Source position: exec.pas line 1249

procedure InitStruct(

  const initTable: POINTER;

  memory: POINTER;

  size: LongWord

);

Arguments

initTable

  

The beginning of the commands and data to init Memory with. Must be on an even boundary unless only byte initialization is done.

memory

  

The beginning of the memory to initialize. Must be on an even boundary if size is specified.

size

  

The size of memory, which is used to clear it before initializing it via the initTable. If Size is zero, memory is not cleared before initializing. Must be an even number.

Description

Clear a memory area, then set up default values according to the data and offset values in the initTable.


Documentation generated on: 2021-07-30