I would like to draw a pentagon. This works
\draw \foreach \alpha in {0,72,...,359} {
\ifdim\alpha pt=0pt \else--\fi
(270+\alpha:1)
} -- cycle;
while this
\draw \foreach \alpha in {0,72,...,359} {
(270+\alpha:1) --
} cycle;
gives the error Cannot parse this coordinate.
Can someone explain why?

\draw (270:1) \foreach\x in{1,...,4}{--(270+\x*72:1)}--cycle;. – percusse Jan 15 '15 at 13:44regular polygonshape? http://tex.stackexchange.com/a/212584/1952 or http://tex.stackexchange.com/a/179847/1952 – Ignasi Jan 19 '15 at 15:53