memoryAreaIsDynamic
Short summary
This assertion method checks if pointer refers to dynamic area
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| address | PVOID | memory address | input |
| sizeInBytes | UDINT | number of bytes | input |
| message | AssertMessage | message if the assertion is false | input |
Code
Declaration
METHOD memoryAreaIsDynamic
VAR_INPUT
(* memory address *)
address :PVOID;
(* number of bytes *)
sizeInBytes :UDINT;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR