Help Contents / Data Structure Primitives / Mutators / _setBF

_setBF list value

command.  Changes the butfirst of "list" to be "value". WARNING: Primitives whose names start with a underbar are DANGEROUS. Their use by non-experts is not recommended.  The use of _setbf can lead to circular list structures, which will get some Logo primitives into infinite loops; unexpected changes to other data structures that share storage with the list being modified; Logo crashes and coredumps if the butfirst of a list is not itself a list; and the loss of memory if a circular structure is released. 

Example: 

	a=[1 2] 
	_setbf a [-2] 
	show a		;[1 -2] 


previous: _setButFirst	next: push
