If a local structured variable \HBJ is used as a real parameter, the
function calculates the checksum from all items of local structured
variable. The calculation involves all the uses all the object attributes
- validity flag, user flags, value time, ....
Example
BEGIN
TEXT _tString
TEXT _tMD5
_tString := "text"
_tMD5 := %MD5(_tString)
RECORD (SD.dataXY) _structXY
_structXY[1]^X := 11
_structXY[1]^Y := 12
_tMD5 := %MD5(_structXY\HBJ)
END
Pridať komentár