[Therion] Person data type with more than two names

Bruce Mutton bruce at tomo.co.nz
Sat Jul 15 04:12:13 CEST 2017


Thanks Olly

Can rely on you for a clear and rational explanation!

I've added a bit on the  wiki

https://therion.speleo.sk/wiki/drawingchecklist#scrap 

 

and plagiarised your text on the FAQ page as well.

https://therion.speleo.sk/wiki/faq#how_do_i_add_peoples_names_if_they_have_more_than_two_words_names 

 

Bruce

 

-----Original Message-----

From: Olly Betts [mailto:olly at survex.com] 

Sent: Saturday, 15 July 2017 1:24 PM

To: Bruce Mutton via Therion <therion at speleo.sk>

Cc: Bruce Mutton <bruce at tomo.co.nz>

Subject: Re: [Therion] Person data type with more than two names

 

On Sat, Jul 15, 2017 at 12:06:43PM +1200, Bruce Mutton via Therion wrote:

> Therion Book says of this data type:

> 

> person    a person  s first name and surname separated by whitespace 

> characters. Use   /   to separate first name and surname if there are 

> more names.

 

Perhaps more clearly: a person can have at most two names (name1 and name2).

If there's a "/" then that separates the name1 and name2 (which can then contain spaces), otherwise whitespace separates name1 and name2.  So multiple "/" is an error, as is multiple whitespace without a "/".

 

At least that's what the code appears to do, and it's consistent with all your examples.

 

I guess it's up to the user how best to separate a person's fairly arbitrary number of names into at most two groups.

 

Just be careful never to go surveying with someone with a "/" in their name...

 

Cheers,

    Olly

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170715/19aaf714/attachment.htm>


More information about the Therion mailing list