Sign in Join
FPDoc Onlineexperiment

copytodos procedure

In unit go32

Copy data from heap to DOS memory.

Declaration

pascal
procedure copytodos(var addr; len: LongInt)

Description

Copies data from heap to the pre-allocated dos memory buffer.

Parameters:

addr
data to copy from.
len
number of bytes to copy to dos memory buffer.

Notes: This function fails if you try to copy more bytes than the transfer buffer is in size. It can only be used in conjunction with the transfer buffer.

Errors

Check the int31error variable.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.