loadpalette

HC Communication File Access loadpalette
FileP Directories

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
]

Example:

Reference:

FileP Directories