I have briefly looked at A-A-P in an effort to compare it with SCons,
which I have used for quite a while. There is one thing in A-A-P that I
can't figure out how to do--adding targets in a python for-loop.
In SCons I would do something like this:
for s in sources:
env.Program(source =3D s)
Can I achieve the same in A-A-P?
Magnus Therning (OpenPGP: 0xAB4DFBA4)
He who joyfully marches to music in rank and file has already earned
my contempt. He has been given a large brain by mistake, since for him
the spinal cord would fully suffice.
-- Albert Einstein
Magnus Therning wrote:
> I have briefly looked at A-A-P in an effort to compare it with SCons,
> which I have used for quite a while. There is one thing in A-A-P that I
> can't figure out how to do--adding targets in a python for-loop.
> In SCons I would do something like this:
> for s in sources:
> env.Program(source =3D s)
> Can I achieve the same in A-A-P?
If "sources" is a list of names, then this should work:
:program myprog : `sources`
If you actually have a more complicated loop, then adding the names to
a variable and using that is a simple solution:
@for s in complicated():
Sources += $s
:program myprog : $Sources
Note the use of an Aap += assignment, it inserts a space where
(letter from Mark to Mike, about the film's probable certificate)
For an 'A' we would have to: Lose as many shits as possible; Take Jesus
Christ out, if possible; Loose "I fart in your general direction"; Lose
"the oral sex"; Lose "oh, fuck off"; Lose "We make castanets out of your
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///