[plug] loop statement needed

Shayne O'Neill shayne at guild.murdoch.edu.au
Thu Mar 11 06:29:19 WST 2004


what language

theres 2 forms that are useful though.

(pseudocode form)

str= 'abcdefghijklmnopqustuvwxyz'
for i = 1 to 26
print str[i]
next

oooor

for i=i to 26
print chr(i+{whatever the hell a is in ascii})
next


------------------------------------
"Must not Sleep! Must warn others!"
-Aesop.
Shayne O'Neill. Indymedia. Fun.
http://www.perthimc.asn.au

On Wed, 10 Mar 2004, Jon  Miller wrote:

> Does anyone know how to write a loop statement that can write out the alphabet.  It needs to increment starting with letter A and incrementing by 1 until it gets to the letter Z.
>
>
> Thanks
>
> Jon L. Miller, MCNE, CNS, ASE
> Director/Sr Systems Consultant
> MMT Networks Pty Ltd
> http://www.mmtnetworks.com.au
>
> "I don't know the key to success, but the key to failure
>  is trying to please everybody." -Bill Cosby
>




More information about the plug mailing list