[Overview][Constants][Types][Procedures and functions][Variables][Index] | Reference for unit 'go32' (#rtl)

# dosmemfillword

Fill a region of DOS memory with a specific word-sized value

## Declaration

Source position: go32.pp line 209

`const dosmemfillword: procedure( = @ dpmi_dosmemfillword;`
`seg: Word;`
`ofs: Word;`
`count: LongInt;`
`w: Word`
`)`

## Description

Sets a region of dos memory to a specific word value.

Parameters:

seg
  real mode segment.
ofs
  real mode offset.
count
  number of words to set.
w
  value to set memory to.

Notes: No range check is performed.

## Errors

None.

## See also

dosmemput |  | Copy data from the heap to DOS real mode memory
dosmemget |  | Copy data from DOS memory to the heap.
dosmemmove |  | Move data between 2 DOS real mode memory locations
dosmemfillchar |  | Fill a region of DOS memory with a specific byte-sized value
seg_move |  | Move data between 2 locations
seg_fillchar |  | Fill segment with byte value
seg_fillword |  | Fill segment with word value

Documentation generated on: May 14 2021