xHarbour Reference Documentation > Function Reference |
Merges the contents of an entire hash into another hash.
HMerge( <hTarget>, <hSource>, [<xMode>]) --> hTarget
The function returns a reference to <hTarget>.
This function merges the entire contents of the hash <hSource> into the hash <hTarget>, depending on the value of <xMode>.
This function is a shortcut for:
HCopy( <hSource>, <hTarget>, 1, Len(<hSource>), <xMode> )
Note that <hTarget> and <hSource> are used in different order with HCopy() and HMerge().
For a description of parameter <xMode> refer to function HCopy().
See also: | HCopy() |
Category: | Hash functions , xHarbour extensions |
Source: | vm\hash.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// See the example for HCopy()
http://www.xHarbour.com