LOGO-L> Re: Alphabet 
Author Message
 LOGO-L> Re: Alphabet

Quote:

> well,
> i cannot resist:

> foreach iseq ascii "A ascii "Z [show char ?]

> is how i would do it in mswlogo and ucblogo
> i do not know if microworlds has iseq

No iseq in MicroWorlds but you could do:

dotimes [i 26] [pr char (ascii "A) + :i]

--
Frank Caggiano

http://www.*-*-*.com/ ~caggiano/

Logo Users Ring
http://www.*-*-*.com/ ~caggiano/logo/logoring.html
---------------------------------------------------------------





Sat, 05 Oct 2002 03:00:00 GMT  
 LOGO-L> Re: Alphabet

a simple iseq is

to iseq :start :finish
if :start > :finish [output []]
output fput :start iseq :start + 1 :finish
end

and i think that iseq should be available anyhow,
so one just should add this definition.

the underlying idea is to
talk only about what is needed to be known.

from a to z is more easily understood than
26 letters starting with a.

Quote:


> > well,
> > i cannot resist:

> > foreach iseq ascii "A ascii "Z [show char ?]

> > is how i would do it in mswlogo and ucblogo
> > i do not know if microworlds has iseq

> No iseq in MicroWorlds but you could do:

> dotimes [i 26] [pr char (ascii "A) + :i]

> --
> Frank Caggiano

> http://www.atlantic.net/~caggiano/

> Logo Users Ring
> http://www.atlantic.net/~caggiano/logo/logoring.html
> ---------------------------------------------------------------






Sun, 06 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. LOGO-L> Alphabet

2. LOGO-L> Apple logo/MSW Logo

3. LOGO-L> Reseach Machines Logo (RM LOGO)

4. WTD: 'ls -lR '->HTML code

5. LOGO-L> Welcome to logo-l

6. LOGO-L> Re: Dynamic scope in Logo

7. LOGO-L> INFO re SIG-LOGO

8. LOGO-L> Logo speed

9. LOGO-L> Logo foundation site

10. LOGO-L> Logo Workshops

11. LOGO-L> Logo for MAC

12. LOGO-L> Object Logo for PC

 

 
Powered by phpBB® Forum Software