Search found 348 matches

by Ron Melby
22 Jul 2019 00:53
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

https://www.fhug.org.uk/wiki/doku.php?id=plugins:code_snippets:word_load_data_direct_into that link doesnt say much, but it says it real briefly. I sort of went thru miserablesoft links, and find no setfont, getfont, turnonfont, turnofffont. for i, rec tblADDR if something:IsNotNull() area (set bold...
by Ron Melby
21 Jul 2019 19:34
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

CemArea.txt here is what it looks like now, might try the Word output, so thats only 30 more hours of you debugging my code..... dont know if thats going to work.... * * AUS.NSW. . Interments: 1 * Church Of England Cemetery, Ponds Road, Prospect, NSW, 2148, AUS * DUNK, Ethel Watson F (1878 - 1921) ...
by Ron Melby
21 Jul 2019 17:33
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

missed an ipairs.... corrected.
by Ron Melby
21 Jul 2019 17:14
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

lost -- the chunks are thus: ptrWork:MoveTo(ptrRCD, rcdOffset) if ptrWork:IsNotNull() then ADDR = fhGetValueAsText(ptrWork) KEY = tblADDR[ADDR] or (#tblADDR + 1) -- obtain integer index key tblADDR[KEY] = tblADDR[KEY] or { } -- make the table if does not exist area = matAREA(ptrRCD, basOffset) -- bu...
by Ron Melby
21 Jul 2019 15:33
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

I have text printing, but this is bedeviling me, no errors but: table.sort(tblADDR, function(a, b) return a.area < b.area end) this does not sort, ouput after sort: GBR.EN.Kent.Kent 2 St. Margarets Church, , Horsmonden, Kent, TN12 8EJ, GBR HOOK, Elizabeth F (1777 - 1813) ELPHICK, Samuel M (1772 - 18...
by Ron Melby
20 Jul 2019 23:17
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

holding off on the text file for the moment, I have extended the business end of my code to: ptrWork:MoveTo(ptrRCD, rcdOffset) if ptrWork:IsNotNull() then ADDR = fhGetValueAsText(ptrWork) tblADDR[ADDR] = tblADDR[ADDR] or { } -- makes the key if does not exist area = matAREA(ptrRCD, basOffset) -- bui...
by Ron Melby
20 Jul 2019 14:25
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

are there any good examples of a plugin that prints a report, because I am looking to get into more mischief here. my thought was , add a table tbl???: which would be an array INTER (an indi pointer to the interments in the cemetery.) sort of like the link to places, where records could be chosen. s...
by Ron Melby
20 Jul 2019 13:41
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

I corrected it. I am quite tangled up here trying to understand whats going on: St. Petri Cemetery, 36200 300th Street NE, Grygla, MN, 56727, USA => (table .2) Inter => 5 Area => "USA.MN.Marshall.Valley "[T156NR39W S20]"" *STOP* it clicked, I got it, running now. thanks for the c...
by Ron Melby
20 Jul 2019 12:05
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Re: Table Manners

there was no change, same error. I have provided the complete code. --[[ @title: CemArea @author: Ron Melby @lastupdated: Apr 2018 @version: 1.0 @description: ]] require '_STD_SLT' require '_STD_FMT' function sltOPT() -- Dialog for specifing Parameters. WSTitle = 'Locus' txtOpt1 = 'country' txtOpt2 ...
by Ron Melby
19 Jul 2019 23:12
Forum: Plugin Discussions
Topic: Table Manners
Replies: 16
Views: 367

Table Manners

I am not facile with table layout. I had thought to build a record ADDR{key], Area = (val), Inter = val not understanding how to do that pretty obviously, if the first code chunk doesnt work, I dont see how the second will. ptrWork:MoveTo(ptrRCD, rcdOffset) if ptrWork:IsNotNull() then ADDR = fhGetVa...
by Ron Melby
17 Jul 2019 18:06
Forum: Plugin Discussions
Topic: IUP questions
Replies: 3
Views: 224

Re: IUP questions

yes, aware of the inability to construct variables or use pointers instead of variable constructs. (but it didnt stop me from trying every possible scam I could to try to make it happen) as it turns out, I will be using the index to selection returned directly the routine will take in either an addr...
by Ron Melby
17 Jul 2019 04:19
Forum: Plugin Discussions
Topic: IUP questions
Replies: 3
Views: 224

IUP questions

I can make no heads nor tails of IUP documentation so I mimic, but I do not understand. is there a way to make the radio buttons verticle instead of horizontal, or more correctly, what is the way to make the buttons vertical? WS_Abort = "Abort" WS_CANCEL = false WS_Cancel = "Cancel&qu...
by Ron Melby
01 Jul 2019 00:29
Forum: Plugin Discussions
Topic: Burial analysis
Replies: 3
Views: 234

Re: Burial analysis

had a war and peace tome, just wrote here, went in the bitbucket by way of fat fingers on small keyboard. Tres Fou. Gotterdammerung, Shadrach, Meshach, and Abednego!!! bottom line, I have been reflecting on this at lenght, no insight into the problem under discussion, but does assist in more locatio...
by Ron Melby
30 Jun 2019 22:57
Forum: Plugin Discussions
Topic: Burial analysis
Replies: 3
Views: 234

Re: Burial analysis

I mean in country. I have English relatives they have as far as I have been able to look back, been in the Tenterden, Bethersden, Ebony area, all in Kent. They are buried in one or two churchyards Margarets or Mildreds. One ran off to Austrailia, that offspring also congregates near Perth (very few)...
by Ron Melby
30 Jun 2019 17:13
Forum: Plugin Discussions
Topic: Date troubles.
Replies: 3
Views: 180

Re: Date troubles.

ok, thats sort of what I had gleaned out of it. ABBREV3 and cut and reverse it, installing leading zeros as needed,
by Ron Melby
30 Jun 2019 17:13
Forum: Plugin Discussions
Topic: Burial analysis
Replies: 3
Views: 234

Burial analysis

what I am trying to come to terms with and figure out some reasonable outcome, is we are a more mobile society this side of the pond, and have a lot more ....'religions'... so I am reading famiilies to find out where they are buried as family groups. I am not sure how to deal with or determine the s...
by Ron Melby
30 Jun 2019 14:54
Forum: Plugin Discussions
Topic: ITER troubles.
Replies: 2
Views: 178

Re: ITER troubles.

plain as the face on my head when you say it, dont know why I cant get that to stick in my head, on my face.
by Ron Melby
30 Jun 2019 14:54
Forum: Plugin Discussions
Topic: Date troubles.
Replies: 3
Views: 180

Date troubles.

Date = fhGetItemText(ptrFAM, '~.MARR.DATE:COMPACT') I have searched, and perhaps I am missing it, misreading the doc available on this, but: Date = fhGetItemText(ptrFAM, '~.MARR.DATE:YYYMMDD') doesn't appear to be available, in F,H on a computer, which is how underlyiing dates are usually stored to ...
by Ron Melby
29 Jun 2019 06:39
Forum: Plugin Discussions
Topic: New Multifact plugin
Replies: 116
Views: 4289

Re: New Multifact plugin

ColeValleyGirl, you use ZEROBRANE right? autoanalyzer = true console.fontname = 'Courier New' console.fontsize = 10 default.extension = 'lua' filetree.showchanges = true editor.autoreload = true editor.fontname = 'Courier New' editor.fontsize = 12 editor.specmap.fh_lua = 'lua' editor.specmap.wlua = ...
by Ron Melby
29 Jun 2019 06:15
Forum: Plugin Discussions
Topic: ITER troubles.
Replies: 2
Views: 178

ITER troubles.

I know you think this is old ground, sorry. I cannot figure out how to stop an unibounded (or perhaps you might think of them as set within limits) iterator. Never have worked with them on subtypes. typical FAM record (stripped) FAM = FAM ptr HUSBAND = INDI ptr WIFE = INDI ptr CHIL = INDI ptr CHIL =...
by Ron Melby
23 Jun 2019 23:35
Forum: Plugin Discussions
Topic: quick and easy relation (hopefully useful) plugin
Replies: 6
Views: 353

Re: quick and easy relation (hopefully useful) plugin

Why do you believe I believe it is better?

is Lua, simple, and may or may not give someone the idea to try to code.

but I believe it is better than a query, You got me there.
by Ron Melby
23 Jun 2019 20:00
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 22
Views: 800

Re: table lookups (when we was fab) or memoization (gangnam style)

the memoization didnt speed it up that much, but now I know how to do it.
by Ron Melby
23 Jun 2019 19:56
Forum: Plugin Discussions
Topic: quick and easy relation (hopefully useful) plugin
Replies: 6
Views: 353

quick and easy relation (hopefully useful) plugin

if you have ever been asked what two peoples relations are, and you don't want to change roots and then hunt, here is a very simple plugin for you: function sltIRCD() tblParm = fhPromptUserForRecordSel('INDI', 2) if #tblParm ~= 2 then return false end p1 = tblParm[1] p2 = tblParm[2] return true end ...
by Ron Melby
22 Jun 2019 14:33
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 22
Views: 800

Re: table lookups (when we was fab) or memoization (gangnam style)

Duh, yes it was working, I could not see otbl is all, which I expected to see. the problem is there is no problem. re locals i fix it all up after I get it working, and I try to local everything I can. function rtvTBL(stbl, styp) styp = styp or '*project' if styp == '*project' then Filename = rtvPro...
by Ron Melby
22 Jun 2019 13:31
Forum: Plugin Discussions
Topic: table lookups (when we was fab) or memoization (gangnam style)
Replies: 22
Views: 800

Re: table lookups (when we was fab) or memoization (gangnam style)

still having troubles with syntax: function rtvTBL(stbl, styp) styp = styp or '*project' if styp == '*project' then Filename = rtvProjectTBL(stbl) end if styp == '*global' then Filename = rtvGlobalTBL(stbl) end otbl = (load(Filename)) or {} -- load the table from file *** issue here return otbl end ...

Go to advanced search