MemFill (FUN)¶
FUNCTION MemFill : BOOL
Function fills all bytes of a memory block with the value “byFillValue”. In case of success, the function will return “TRUE”. Only if “MemoryBlock” is set to “0”, the initialization will not be carried out and the function will return “FALSE”.
- InOut:
Scope
Name
Type
Comment
Return
MemFillBOOLfunction returns “TRUE” if filling succeeded
Input
pMemoryBlockPOINTER TO BYTE
address of memory block
uiLengthUINTlength of memory block in byte
byFillValueBYTEFill value for the memory block