Search found 928 matches

by Ron Melby
09 Apr 2024 17:53
Forum: Maintaining the KnowledgeBase
Topic: KB: Ancestor and Descendant List Creation
Replies: 5
Views: 205

Re: KB: Ancestor and Descendant List Creation

I have now run the two looping scripts, they are fine.

havent done the recursives yet.
by Ron Melby
09 Apr 2024 16:25
Forum: Maintaining the KnowledgeBase
Topic: KB: Ancestor and Descendant List Creation
Replies: 5
Views: 205

Re: KB: Ancestor and Descendant List Creation

there is also an unused pointer in loop descendant:
ptrFamilyRec = fhNewItemPtr()
probably should be:
ptrFamilyRecord = fhNewItemPtr()

and for consistency should add:
local ptrChildRecord = fhNewItemPtr()
by Ron Melby
09 Apr 2024 14:21
Forum: Maintaining the KnowledgeBase
Topic: KB: Ancestor and Descendant List Creation
Replies: 5
Views: 205

KB: Ancestor and Descendant List Creation

https://www.fhug.org.uk/kb/code-snippet/ancestor-and-descendant-list-creation/ looping style GetAncestorList does not work. The entire codesnip is nonsensical. first: it does not compile. there is a bottom half of a non existant loop at line 45 and 46. moving the iLoop counter to line 44 and removin...
by Ron Melby
05 Apr 2024 01:49
Forum: Programming Technicalities
Topic: Where are the FH/LUA code navigation parms
Replies: 18
Views: 941

Re: Where are the FH/LUA code navigation parms

To form double-barrelled names into one indivisible name, the two names can be separated by a no-break-space character code 0160, which in ƒh V6.0 can be added to the repeated space popup as follows. Click its cog, select the Hold Key (space) and click Edit, then insert Alt+0160 between any existing...
by Ron Melby
05 Apr 2024 00:25
Forum: Plugin Technical Support & Development
Topic: Lineage linking like the big boys do
Replies: 0
Views: 142

Lineage linking like the big boys do

everything says that gedcom is lineage linked. nowhere is there an algorithm I can find for linking it. I need some clever algorithm design help. I have fought this for 4 years. My current iteration runs root to treetops for mother and father and goes down (which allows me to include some of the nec...
by Ron Melby
05 Apr 2024 00:18
Forum: Ancestral Sources
Topic: Monumental Inscriptions - thoughts?
Replies: 33
Views: 1170

Re: Monumental Inscriptions - thoughts?

I wonder if a cenotaph should be a separate source template then a 'regular' monument, and its monumental inscription.

vis: https://www.findagrave.com/memorial/160 ... dward-hunt
by Ron Melby
04 Apr 2024 20:43
Forum: Ancestral Sources
Topic: Monumental Inscriptions - thoughts?
Replies: 33
Views: 1170

Re: Monumental Inscriptions - thoughts?

way back when I tried using AS and could never figure it out. Its on my list to do. Seems to me you have individual monuments and family monuments. I don't know if you can split them into two types programattically (well, you can; is it worth it?) indi monuments would be straightforward. the family ...
by Ron Melby
04 Apr 2024 00:09
Forum: General Usage
Topic: Marriage record id
Replies: 12
Views: 395

Re: Marriage record id

dont have a configurable line there that I can find in 6.7.2 but still a pastiche, no reason it cant be in the family record in the focus window. So not good for me on two counts.
by Ron Melby
03 Apr 2024 19:37
Forum: General Usage
Topic: Marriage record id
Replies: 12
Views: 395

Re: Marriage record id

Lorna, that does not work with my long names. to others, I do not want a custom id have enough stuff I cant keep track of and it would not correct the problem. if the record ids for the individuals did not appear after the names in the focus window, would anyone consider that an error? if you had to...
by Ron Melby
03 Apr 2024 13:56
Forum: General Usage
Topic: Marriage record id
Replies: 12
Views: 395

Re: Marriage record id

that is the one I mean. I will have to see if there is a wish list for that fh error.
by Ron Melby
03 Apr 2024 13:09
Forum: General Usage
Topic: Marriage record id
Replies: 12
Views: 395

Marriage record id

I can find no way to insert the record id in the marriage box inside the focus window, is there a way to do it?
MARRIAGE.png
MARRIAGE.png (450.57 KiB) Viewed 395 times
by Ron Melby
12 Feb 2024 23:21
Forum: General Usage
Topic: Downloading
Replies: 7
Views: 736

Re: Downloading

we first need to know what the extension of the document is. likely Opera became the default opener.
by Ron Melby
23 Jan 2024 13:00
Forum: Programming Technicalities
Topic: what is all this then?
Replies: 8
Views: 986

Re: what is all this then?

Precisely my point at the outset Mike. I can by the nefarious means of inspection and counting by hand say: she is -1 therefore her father is -2 and her grandfather -3 from me, the root; at 0, and install that in a table, and by that same process, do all other non-relations in pool 1. The other pool...
by Ron Melby
22 Jan 2024 18:05
Forum: Programming Technicalities
Topic: what is all this then?
Replies: 8
Views: 986

Re: what is all this then?

GEN = fhCallBuiltInFunction('RelationCode', QY_ROOT, iptr, 'Generation', ix or 1) -- or -100 go to your grandfather on your fathers side, pick a brother, then his son, that should put you and him at -1 if you are QY_ROOT and he is iptr, or vice versa. now go to his wife, which also should be generat...
by Ron Melby
22 Jan 2024 16:29
Forum: Programming Technicalities
Topic: what is all this then?
Replies: 8
Views: 986

Calculating a generational offset

same program but slightly different topic. I have a sister. her generational offset from me is 0, her husbands is also 0. fh calculates no generational offset to his parents, brothers, sisters, --- in short his kin. logically the generational offset between his parents and me is -1 we are all in poo...
by Ron Melby
22 Jan 2024 13:51
Forum: Programming Technicalities
Topic: what is all this then?
Replies: 8
Views: 986

Re: what is all this then?

after all day and almost all night yesterday of small changes here and there to debug and correct code and find this problem (likely compiled it several hundred times) I closed everything out and went to bed. I tried it this morning to try and better explain what is going on, no changes, it works. c...
by Ron Melby
22 Jan 2024 03:59
Forum: Programming Technicalities
Topic: what is all this then?
Replies: 8
Views: 986

what is all this then?

this is below lua 101 like 1st form lua, but I am not getting it. code snip and some table entries fID is the record id of a FAM record. 2. DEQ.fID 2217 is NEQ FAMLIMIT[DEQ.fID] 37 1 DEQ = QFAM:deQ() 2 if not FAMLIMIT[DEQ.fID] then xptr:MoveToRecordById('FAM', DEQ.fID) local ptrFAM = xptr:Clone() --...
by Ron Melby
18 Jan 2024 14:30
Forum: General Usage
Topic: How can I Multiply DnaRelatedness by a Number
Replies: 3
Views: 540

Re: How can I Multiply DnaRelatedness by a Number

those formulas are not my forte but will this work?

=Calc( (DnaRelatedness(FileRoot(), %INDI%) or 0) * 6900
by Ron Melby
11 Jan 2024 16:47
Forum: Programming Technicalities
Topic: addressing an interior array
Replies: 1
Views: 524

addressing an interior array

I am once again flummoxed. I am trying to find and correct errors in my gravesites. I find them and have them in GEDRCD I then strip out the memmorial id from gravminer, digitalarkkivet or findagrave. now I want to look for duplicates: for k, _ in ipairs(GEDRCD) do this = GEDRCD[k] _dup[this.MML] = ...
by Ron Melby
30 Dec 2023 16:33
Forum: Programming Technicalities
Topic: IUP (tearing out non-extant hair)
Replies: 10
Views: 985

Re: IUP (tearing out non-extant hair)

From: Antonio Scuri 2008-10-29 12:57:36 Unfortunately yes, you have to do it in a callback. Best, scuri > -----Original Message----- > From: fla...@te... [mailto:fla...@te...] > Sent: segunda-feira, 27 de outubro de 2008 15:01 > To: iup...@li... > Subject: [Iup-users] IupMatrix Inactive cells > > Is...
by Ron Melby
30 Dec 2023 12:21
Forum: Programming Technicalities
Topic: IUP (tearing out non-extant hair)
Replies: 10
Views: 985

Re: IUP (tearing out non-extant hair)

function crt_matrix() -- header mat:setcell(0, 0, 'Slt') mat:setcell(0, 1, 'Color') mat:setcell(0, 2, 'Name') mat:setcell(0, 3, 'r') mat:setcell(0, 4, 'g') mat:setcell(0, 5, 'b') mat:setcell(0, 6, 'h') mat:setcell(0, 7, 's') mat:setcell(0, 8, 'l') mat:setcell(0, 9, 'xrgb') mat['BGCOLOR*:0'] = '255 ...
by Ron Melby
28 Dec 2023 15:39
Forum: Programming Technicalities
Topic: IUP (tearing out non-extant hair)
Replies: 10
Views: 985

Re: IUP (tearing out non-extant hair)

-- require 'QSYS' require('iuplua') require('iupluacontrols') -- https://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix_attrib.html#Cell_Attributes -- local _C = {} -- local cfp = ('%s%s'):format(__ipath.global(), '_C.dat') -- cfp, _C = rtvTBL(cfp) local _C = { [1] = {["name"] = "_blac...
by Ron Melby
28 Dec 2023 13:13
Forum: Programming Technicalities
Topic: IUP (tearing out non-extant hair)
Replies: 10
Views: 985

Re: IUP (tearing out non-extant hair)

the reason there is extra sugar in the array entries is they are copied out of the serialized table on disk. I have corrected the other things, but it was never clear to me (and thats why I have the directions commented in there and asked the question here, how do I do color. So, it is a two step pr...
by Ron Melby
28 Dec 2023 00:21
Forum: Programming Technicalities
Topic: IUP (tearing out non-extant hair)
Replies: 10
Views: 985

Re: IUP (tearing out non-extant hair)

-- require 'QSYS' require('iuplua') require('iupluacontrols') -- https://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix_attrib.html#Cell_Attributes -- local _C = {} -- local cfp = ('%s%s'):format(__ipath.global(), '_C.dat') -- cfp, _C = rtvTBL(cfp) local _C = { [1] = {["name"] = "_blac...
by Ron Melby
27 Dec 2023 14:07
Forum: Programming Technicalities
Topic: IUP (tearing out non-extant hair)
Replies: 10
Views: 985

Re: IUP (tearing out non-extant hair)

well, drag me kicking and screaming into matrixes then. how can I make the color boxes in a matrix?