function Parent: vs. function Ancestor:

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

function Parent: vs. function Ancestor:

Post by ChrisGreaves »

Quick question:
As far as I can make out Parent: is used in the sense of "immediate parent", hence father folder, while Ancestor: is used in the family-tree sense, including not only father, but grandfather, great-grandfather and so on.

This then would tie in with natural language. I might say "I am like my father", but that "I got my genes from my ancestors"

I am studying posts and trying to determine what - to a beginner - are the finer points of terminology, and the distinction is sometimes difficult to make out, when I am not familiar with the example data that makes the post!

Thanks, Chris
void
Developer
Posts: 16671
Joined: Fri Oct 16, 2009 11:31 pm

Re: function Parent: vs. function Ancestor:

Post by void »

As far as I can make out Parent: is used in the sense of "immediate parent", hence father folder, while Ancestor: is used in the family-tree sense, including not only father, but grandfather, great-grandfather and so on.
Yes, you are correct.

parent:
ancestor:

Both functions take an absolute full path.



then in the opposite direction, you have:
child:
descendant:

and there's also:
sibling:
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: function Parent: vs. function Ancestor:

Post by ChrisGreaves »

void wrote: Fri Mar 10, 2023 10:04 pm Yes, you are correct.
Thank you Void.
then in the opposite direction, you have:child: descendant: and there's also: sibling:
Oh Great. Just GREAT! There goes another ream of paper :evil:
Thanks again. Duly noted.
Chris
Post Reply