sRights is string
sARight is string
sRights = HInfoFileRights("CNT", "Smith" , ...
hRightsRead + hRightsInsert, "MyDatabase", "MyFile.fic")
sARight = ExtractString(sRights, firstRank, TAB)
WHILE sARight <> EOT
SWITCH sARight
CASE hAllowed
...
CASE hForbidden
...
CASE hInherit
...
END
sARight = ExtractString(sRights, nextRank, TAB)
END
sRights = HInfoFileRights("CNT", "Smith", ...
hRightsRead + hRightsInsert, "MyDatabase", "MyFile.fic", True)
sARight = ExtractString(sRights, firstRank, TAB)
WHILE sARight <> EOT
SWITCH sARight
CASE hAllowed
...
CASE hForbidden
...
END
sARight = ExtractString(sRights, nextRank, TAB)
END
sRights1 is string
sRights1 = HInfoFileRights("CNT", "Smith" , ...
hRightsRead + hRightsInsert, "MyDatabase", "MyFile.fic")
HModifyFileRights("CNT", "Doe", hRightsRead+hRightsInsert, ...
sRights1, "MyDatabase", "MyFile.FIC")