The Collaborative International Dictionary of English v.0.48:
For- \For-\ [AS. for-; akin to D. & G. ver-, OHG. fir-, Icel.
for-, Goth. fra-, cf. Skr. par[=a]- away, Gr. ? beside, and
E. far, adj. Cf. Fret to rub.]
A prefix to verbs, having usually the force of a negative or
privative. It often implies also loss, detriment, or
destruction, and sometimes it is intensive, meaning utterly,
quite thoroughly, as in forbathe.
[1913 Webster]
The Collaborative International Dictionary of English v.0.48:
For \For\, prep. [AS. for, fore; akin to OS. for, fora, furi, D.
voor, OHG. fora, G. vor, OHG. furi, G. f["u]r, Icel. fyrir,
Sw. f["o]r, Dan. for, adv. f["o]r, Goth. fa['u]r, fa['u]ra,
L. pro, Gr. ?, Skr. pra-. [root] 202. Cf. Fore, First,
Foremost, Forth, Pro-.]
In the most general sense, indicating that in consideration
of, in view of, or with reference to, which anything is done
or takes place.
[1913 Webster]
1. Indicating the antecedent cause or occasion of an action;
the motive or inducement accompanying and prompting to an
act or state; the reason of anything; that on account of
which a thing is or is done.
[1913 Webster]
With fiery eyes sparkling for very wrath. --Shak.
[1913 Webster]
How to choose dogs for scent or speed. --Waller.
[1913 Webster]
Now, for so many glorious actions done,
For peace at home, and for the public wealth,
I mean to crown a bowl for C[ae]sar's health.
--Dryden.
[1913 Webster]
That which we, for our unworthiness, are afraid to
crave, our prayer is, that God, for the worthiness
of his Son, would, notwithstanding, vouchsafe to
grant. --Hooker.
[1913 Webster]
2. Indicating the remoter and indirect object of an act; the
end or final cause with reference to which anything is,
acts, serves, or is done.
[1913 Webster]
The oak for nothing ill,
The osier good for twigs, the poplar for the mill.
--Spenser.
[1913 Webster]
It was young counsel for the persons, and violent
counsel for the matters. --Bacon.
[1913 Webster]
Shall I think the worls was made for one,
And men are born for kings, as beasts for men,
Not for protection, but to be devoured? --Dryden.
[1913 Webster]
For he writes not for money, nor for praise.
--Denham.
[1913 Webster]
3. Indicating that in favor of which, or in promoting which,
anything is, or is done; hence, in behalf of; in favor of;
on the side of; -- opposed to against.
[1913 Webster]
We can do nothing against the truth, but for the
truth. --2 Cor. xiii.
8.
[1913 Webster]
It is for the general good of human society, and
consequently of particular persons, to be true and
just; and it is for men's health to be temperate.
--Tillotson.
[1913 Webster]
Aristotle is for poetical justice. --Dennis.
[1913 Webster]
4. Indicating that toward which the action of anything is
directed, or the point toward which motion is made;
?ntending to go to.
[1913 Webster]
We sailed from Peru for China and Japan. --Bacon.
[1913 Webster]
5. Indicating that on place of or instead of which anything
acts or serves, or that to which a substitute, an
equivalent, a compensation, or the like, is offered or
made; instead of, or place of.
[1913 Webster]
And if any mischief follow, then thou shalt give
life for life, eye for eye, tooth for tooth, hand
for hand, foot for foot. --Ex. xxi. 23,
24.
[1913 Webster]
6. Indicating that in the character of or as being which
anything is regarded or treated; to be, or as being.
[1913 Webster]
We take a falling meteor for a star. --Cowley.
[1913 Webster]
If a man can be fully assured of anything for a
truth, without having examined, what is there that
he may not embrace for tru?? --Locke.
[1913 Webster]
Most of our ingenious young men take up some
cried-up English poet for their model. --Dryden.
[1913 Webster]
But let her go for an ungrateful woman. --Philips.
[1913 Webster]
7. Indicating that instead of which something else controls
in the performing of an action, or that in spite of which
anything is done, occurs, or is; hence, equivalent to
notwithstanding, in spite of; -- generally followed by
all, aught, anything, etc.
[1913 Webster]
The writer will do what she please for all me.
--Spectator.
[1913 Webster]
God's desertion shall, for aught he knows, the next
minute supervene. --Dr. H. More.
[1913 Webster]
For anything that legally appears to the contrary,
it may be a contrivance to fright us. --Swift.
[1913 Webster]
8. Indicating the space or time through which an action or
state extends; hence, during; in or through the space or
time of.
[1913 Webster]
For many miles about
There 's scarce a bush. --Shak.
[1913 Webster]
Since, hired for life, thy servile muse sing.
--prior.
[1913 Webster]
To guide the sun's bright chariot for a day.
--Garth.
[1913 Webster]
9. Indicating that in prevention of which, or through fear of
which, anything is done. [Obs.]
[1913 Webster]
We 'll have a bib, for spoiling of thy doublet.
--Beau. & Fl.
[1913 Webster]
For, or As for, so far as concerns; as regards; with
reference to; -- used parenthetically or independently.
See under As.
[1913 Webster]
As for me and my house, we will serve the Lord.
--Josh. xxiv.
15.
[1913 Webster]
For me, my stormy voyage at an end,
I to the port of death securely tend. --Dryden.
For all that, notwithstanding; in spite of.
For all the world, wholly; exactly. "Whose posy was, for
all the world, like cutlers' poetry." --Shak.
For as much as, or Forasmuch as, in consideration that;
seeing that; since.
For by. See Forby, adv.
For ever, eternally; at all times. See Forever.
For me, or For all me, as far as regards me.
For my life, or For the life of me, if my life depended
on it. [Colloq.] --T. Hook.
For that, For the reason that, because; since. [Obs.]
"For that I love your daughter." --Shak.
For thy, or Forthy [AS. for[eth][=y].], for this; on this
account. [Obs.] "Thomalin, have no care for thy."
--Spenser.
For to, as sign of infinitive, in order to; to the end of.
[Obs., except as sometimes heard in illiterate speech.] --
"What went ye out for to see?" --Luke vii. 25. See To,
prep., 4.
O for, would that I had; may there be granted; --
elliptically expressing desire or prayer. "O for a muse of
fire." --Shak.
Were it not for, or If it were not for, leaving out of
account; but for the presence or action of. "Moral
consideration can no way move the sensible appetite, were
it not for the will." --Sir M. Hale.
[1913 Webster]
The Collaborative International Dictionary of English v.0.48:
For \For\, conj.
1. Because; by reason that; for that; indicating, in Old
English, the reason of anything.
[1913 Webster]
And for of long that way had walk['e]d none,
The vault was hid with plants and bushes hoar.
--Fairfax.
[1913 Webster]
And Heaven defend your good souls, that you think
I will your serious and great business scant,
For she with me. --Shak.
[1913 Webster]
2. Since; because; introducing a reason of something before
advanced, a cause, motive, explanation, justification, or
the like, of an action related or a statement made. It is
logically nearly equivalent to since, or because, but
connects less closely, and is sometimes used as a very
general introduction to something suggested by what has
gone before.
[1913 Webster]
Give thanks unto the Lord; for he is good; for his
mercy endureth forever. --Ps. cxxxvi.
1.
[1913 Webster]
Heaven doth with us as we with torches do,
Not light them for themselves; for if our virtues
Did not go forth of us, 't were all alike
As if we had them not. --Shak.
[1913 Webster]
For because, because. [Obs.] "Nor for because they set less
store by their own citizens." --Robynson (More's Utopia).
For why.
(a) Why; for that reason; wherefore. [Obs.]
(b) Because. [Obs.] See Forwhy.
Syn: See Because.
[1913 Webster]
The Collaborative International Dictionary of English v.0.48:
For \For\, n.
One who takes, or that which is said on, the affrimative
side; that which is said in favor of some one or something;
-- the antithesis of against, and commonly used in connection
with it.
[1913 Webster]
The fors and against. those in favor and those opposed; the
pros and the cons; the advantages and the disadvantages.
--Jane Austen.
[1913 Webster]
Moby Thesaurus II by Grady Ward, 1.0:
46 Moby Thesaurus words for "for":
against, all for, as, as long as, as proxy for, as representing,
as things go, because, being, being as how, cause, considering,
forasmuch as, from, in aid of, in behalf of, in consideration of,
in contemplation of, in favor of, in furtherance of, in lieu of,
in order to, in place of, in preference to, in preparation for,
in that, inasmuch as, insofar as, insomuch as, now, on account of,
on behalf of, parce que, pro, remedial of, replacing,
seeing as how, seeing that, since, so, so as to, so that, to, vice,
whereas, with
The Free On-line Dictionary of Computing (30 December 2018):
for loop
for
A loop construct found in many procedural
languages which repeatedly executes some instructions while a
condition is true.
In C, the for loop is written in the form;
for (INITIALISATION; CONDITION; AFTER)
STATEMENT;
where INITIALISATION is an expression that is evaluated once
before the loop, CONDITION is evaluated before each iteration
and the loop exits if it is false, AFTER is evaluated after
each iteration, and STATEMENT is any statement, including a
compound statement within braces "..", that is executed if
CONDITION is true.
For example:
int i;
for (i = 0; i < 10; i++)
printf("Hello\n");
prints "Hello" 10 times.
Other languages provide a more succinct form of "for"
statement specifically for iterating over arrays or lists.
E.g., the Perl code,
for my $task (@tasks)
postpone($task);
calls function "postpone()" repeatedly, setting $task to each
element of the "@tasks" array in turn. This avoids
introducing temporary index variables like "i" in the previous
example.
The for loop is an alternative way of writing a while loop
that is convenient because the loop control logic is collected
in a single place. It is also closely related to the repeat
loop.
(2009-10-07)