fhIsTAG or something akin is missing or is there a like alternative.
Posted: 06 Jun 2021 18:03
function matTAG(eptr)
local atr = fhIsAttribute(eptr)
local evt = fhIsEvent(eptr)
local fct = fhIsFact(eptr)
given an eptr to (for instance): 'NAME'
all of these fhIs* are false
and that would be fine because it could be considered it is one of the gedcom tags by default
However, I think a tag like NOTE2 has a different quality about it, since it is a programming conveinience tag. But it also reads the same as 'NAME' I can find no fhIs* or other way to differentiate these tags by class when I am reading an entire INDI or FAM record, is there something under some other name? or is it going to be a pair of lookup tables? ( I am unsure if I know all the programming tags (some special handling such as NOTE2' and 'PLAC' and what else).
local atr = fhIsAttribute(eptr)
local evt = fhIsEvent(eptr)
local fct = fhIsFact(eptr)
given an eptr to (for instance): 'NAME'
all of these fhIs* are false
and that would be fine because it could be considered it is one of the gedcom tags by default
However, I think a tag like NOTE2 has a different quality about it, since it is a programming conveinience tag. But it also reads the same as 'NAME' I can find no fhIs* or other way to differentiate these tags by class when I am reading an entire INDI or FAM record, is there something under some other name? or is it going to be a pair of lookup tables? ( I am unsure if I know all the programming tags (some special handling such as NOTE2' and 'PLAC' and what else).