Help Contents / Communication / File Access / loadpalette

loadpalette palname

operation which outputs an array of 256 integers representing the rgb-colors of the palette file palname. 

Example: 

	topograf=loadpalette "topograf.pal 
	setPenSize [10 10] 
	repeat 256 [ 
		setPenColor topograf.repcount 
		fd 1 
	] 


previous: FileP
