Candy, ice cream, cookies and other sweets were sold by about 32 percent of schools in areas where both school district or state policies limited the sugar content of snack foods, compared with 43 percent of schools where there were no such policies.