[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Prefix/Root/Suffix Program



>Is this possible using MicroWorlds
>2.xx on the Mac?  Any help would be appreciated.  I know that two lists
>can be combined but three  lists without spaces?  I'm not sure.  If this
>exists, could someone assist me.....Thank You

Here is the on-line help description of the "word" primitive:

	word word-or-list1 word-or-list2
	(word word-or-list1 word-or-list2  word-or-list3...)

	Combines its inputs into one word and reports the word.
	Word can be used to make a list into a word.
	Word can take more than 2 inputs when word and the inputs
	are enclosed in parentheses.

So you can combine three, or more, lists or words using parentheses.

	to 3Into1 :word-or-list1 :word-or-list2 :word-or-list3
	op (word :word-or-list1 :word-or-list2 :word-or-list3)
	end

In general there are procedures that, by default, will take 2 inputs, but
will accept more if needed. To help the Logo "machine" to disambiguate
between the default number of inputs and the variable one, you need to
enclose in parentheses the call to that procedure.

Cheers,
	Augusto

/// Dr. Augusto Chioccariello                  tel: +39 10 6475319
/// Istituto Tecnologie Didattiche - CNR       fax: +39 10 6475300
/// e-mail: augusto@itd.ge.cnr.it


---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home