Difference between revisions of "Colors.subtract"
From ComputerCraft Wiki
(Create page) |
m (Moved to CAT:APIFunctions) |
||
| Line 14: | Line 14: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:API_Functions]] | ||
Revision as of 18:30, 28 November 2012
| Computes the difference of a set by removing colors from it; each parameter beyond the first may be a single color or may be a set of colors (in the latter case, all colors in the set are removed from the original set) | |
| Syntax | colors.subtract(int colors, int color1, int color2, …) |
| Returns | int the set colors after removing sets color1, color2, … |
| Part of | ComputerCraft |
| API | color |