[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'LazConfigStorage' (#lazutils)

ComparePCharWithConfigMemStorageNode

Compares the specified string to the name for a the specified memory-based storage nodes to determine their relative order.

Declaration

Source position: lazconfigstorage.pas line 158

function ComparePCharWithConfigMemStorageNode(

  aPChar: Pointer;

  ANode: Pointer

):Integer;

Arguments

aPChar

  

Pointer to the null-terminated character values compared in the routine.

ANode

  

Memory-based storage node with the name compared in the routine.

Function result

Returns 0 if the string and the node name have the same value (or both are empty). Returns -1 if the string is shorter than (comes before) the node name in ANode. Returns 1 if the string is longer than (comes after) the node name in ANode.


Version 4.0 Generated 2025-05-03 Home