Loops/For with a specified step: Difference between revisions

add link to Delphi for pascal
No edit summary
(add link to Delphi for pascal)
Line 550:
The <code>forstep</code> construct is actually more powerful. For example, to print numbers with last digit relatively prime to 10:
<lang parigp>forstep(n=1,100,[2,4,2,2],print(n))</lang>
 
=={{header|Pascal}}==
See [[Loops/For_with_a_specified_step#Delphi | Delphi]]
 
=={{header|Perl}}==
Anonymous user