I am new to working with lists. A short experiment in MSWLogo
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!
Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.