[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
NqcFor
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
NqcFor
(NQC) for
Keyword to perform a for-loop. Similar to the C-style for loop.
//Let OUT_A accellerate
task main()
{
int i = 0;
//Let i go from 0 to 8 in steps of 1
for(i=0; i!=8; ++i)
{
SetPower(OUT_A,i);
Wait(100);
}
}
'for' links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
