P. 1
Pl 1

Pl 1

|Views: 190|Likes:
Published by msk_sandeep

More info:

Published by: msk_sandeep on Jul 23, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/23/2012

pdf

text

original

1. Label_name : DO WHILE( condition);

:
:
END label_name;
2. DO UNTIL(condition);
:
:
END;
3. DO I=n to m BY [+/-] x ;
4. DO M=1 TO 10,21 TO 30, 41 TO 50;

Created by Sanjay Sinha

44

5. DO K= 1 TO 5, 8 TO 18 BY 2 , 50 TO 55 BY 5, 40
TO 44;
6. DO J=3,12,6,5,45

7. DO I=n BY x;

:

:

END; /* some other condition must be mentioned to
come out of the loop , otherwise it’ll be an infinite
loop or FIXEDOVERFLOW will occur.*/

8. DO K=1 TO 10 WHILE ( A>10);

Created by Sanjay Sinha

45

9. DO K=1 TO 10,11 WHILE ( A>10);
10. DO K=1 TO 10,11 BY 0 WHILE ( A>10);
11. DO K=1 TO 10 UNTIL ( A>10);
12. DO NAME = ‘AAA’,’BBB’,’CCC’;

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->