LOGO-L> List Work 
Author Message
 LOGO-L> List Work

Quote:
----- Original Message -----


Sent: Tuesday, September 21, 1999 8:52 PM
Subject: LOGO-L> List Work

> Hi, List!

>    I am new to working with lists.  A short experiment in MSWLogo
> follows:

>    Make "noun [ boy girl dog cat ]
>    Make "verb  [runs sings howls scratches ]

> make "a last :noun
> make "b first :verb
> print  ( se "The  :a :b   "everyday ".)

>     The cat runs everyday.

>    My question is, How would one randomly access various members of
> each list so that a variety of sentences are generated?  ( I had
> problems using Random as the Item # generator since 0 is no good.
> Would I make the new number the generated number plus 1, or is there
> something more "elegant"? )

>    Thanks for any help you can send!

>                                                   Sincerely,
>                                                      Tom

> Sent via Deja.com http://www.*-*-*.com/
> Share what you know. Learn what you don't.
> ---------------------------------------------------------------




---------------------------------------------------------------





Sun, 10 Mar 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. LOGO-L> MicroWorlds: working with textboxes

2. LOGO-L> recursive iron works

3. Bugs in ST80 4.1 (Stream>>through, List>>copyFrom:to:)

4. LOGO-L> Apple logo/MSW Logo

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

6. exec ls *.java does not work on Solaris ??

7. LOGO-L> Note to List Serv

8. LOGO-L> primitive listing

9. R: LOGO-L> permuted list

10. LOGO-L> permuted list

11. LOGO-L> out of list space error

12. LOGO-L> Reading Lists

 

 
Powered by phpBB® Forum Software