Help Contents / Workspace Management / Workspace Control / shrinkStacks

shrinkStacks

command to shrink all stacks of aUCBLogo to the least power of 2 greater than PAGE_SIZE (0x100) and the number of elements on that respective stack. 

Example: 

	to teststack 
		clearText 
		fillstack 1000000 
	end 
	to fillstack n 
		if n > 0 [fillstack n-1] 
		n=n 
	end 
	teststack 
	shrinkStacks 


previous: GC	next: setStackNoisy
