Retain vs Include - What's the difference?
retain | include |
To keep in possession or use.
* Milton
* 1856 : (Gustave Flaubert), (Madame Bovary), Part III Chapter XI, translated by Eleanor Marx-Aveling
* {{quote-book, year=1963, author=(Margery Allingham)
, title=(The China Governess)
, chapter=1 To keep in one's pay or service.
* Addison
To employ by paying a retainer.
To hold secure.
(obsolete) To restrain; to prevent.
(obsolete) To belong; to pertain.
* Boyle
To bring into a group, class, set, or total as a (new) part or member.
To contain, as parts of a whole; to comprehend.
* Milton
* Shakespeare
(obsolete) To enclose, confine.
*, New York, 2001, p.107:
(obsolete) To conclude; to terminate.
* Shakespeare
(computing) A piece of source code or other content that is dynamically retrieved for inclusion in another item.
* 2006 , Laura Lemay, Rafe Colburn, Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
In obsolete|lang=en terms the difference between retain and include
is that retain is (obsolete) to belong; to pertain while include is (obsolete) to conclude; to terminate.As verbs the difference between retain and include
is that retain is to keep in possession or use while include is to bring into a group, class, set, or total as a (new) part or member.As a noun include is
(computing) a piece of source code or other content that is dynamically retrieved for inclusion in another item.retain
English
Verb
(en verb)- Be obedient, and retain / Unalterably firm his love entire.
- A strange thing was that Bovary, while continually thinking of Emma, was forgetting her. He grew desperate as he felt this image fading from his memory in spite of all efforts to retain it. Yet every night he dreamt of her; it was always the same dream. He drew near her, but when he was about to clasp her she fell into decay in his arms.
citation, passage=The original family who had begun to build a palace to rival Nonesuch had died out before they had put up little more than the gateway, so that the actual structure which had come down to posterity retained the secret magic of a promise rather than the overpowering splendour of a great architectural achievement.}}
- A Benedictine convent has now retained the most learned father of their order to write in its defence.
- A somewhat languid relish, retaining to bitterness.
Synonyms
* keepAnagrams
* *include
English
Alternative forms
* enclude (obsolete)Verb
(includ)- I will purchase the vacation package if you will include car rental.
- The vacation package includes car rental.
- Does this volume of Shakespeare include his sonnets?
- I was included in the invitation to the family gathering.
- up to and including page twenty-five
- The whole included race, his purposed prey.
- The loss of such a lord includes all harm.
- I could have here willingly ranged, but these straits wherein I am included will not permit.
- Come, let us go; we will include all jars / With triumphs, mirth, and rare solemnity.
Antonyms
* excludeNoun
(en noun)- In the previous lesson, you learned how to use server-side includes , which enable you to easily include snippets of web pages within other web pages.
