https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: 21ce9707d32d35f71bcba10c45742e8214881ea8 authored by Barak A. Pearlmutter on 13 January 2022, 14:54:59 UTC
update-alternatives instead of mere links for /usr/bin/logo
Tip revision: 21ce970
transfer
TRANSFER endtest template inbasket			(library procedure)

	outputs the result of repeated evaluation of the template.
	The template is evaluated once for each member of the list
	"inbasket."  TRANSFER maintains an "outbasket" that is
	initially the empty list.  After each evaluation of the
	template, the resulting value becomes the new outbasket.

	In the template, the symbol ?IN represents the current member
	from the inbasket; the symbol ?OUT represents the entire
	current outbasket.  Other slot symbols should not be used.

	If the first (endtest) input is an empty list, evaluation
	continues until all inbasket members have been used.  If not,
	the first input must be a predicate expression template, and
	evaluation continues until either that template's value is TRUE
	or the inbasket is used up.


back to top