Help Contents / Data Structure Primitives / Constructors / fPut

fPutfPut thing list fPut thing array 

outputs a list equal to its second input with one extra member, the first input, at the beginning. 

fPut is faster than lPut, because lists are in Logo built out of first-tail pairs. 

Array types are now supported (4.689). 

Examples: 

	show fput "Hallo [World]	;[hallo World] 
	show fput [Hallo] [World]	;[[Hallo] World] 
	show fput "12 "34 
	;  fput doesn't like 34 as input 
	show fput "12 [34]	;[12 34] 
	show fput "12 {34}		;{12 34} 
	show fput 12 FloatArray {34}		;{12 34} 


previous: Sentence	next: lPut
