Difference between revisions of "Remove Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|list}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|list}} | ||
− | ; Remove | + | ; Remove( <List>, <List> ):Removes objects from the first list each time they appear in the second list. |
− | : {{Example| 1=<div><code>Remove | + | : {{Example| 1=<div><code>Remove({1,3,4,4,9},{1,4,5})</code> yields list <code>{3,4,9}</code>.</div>}} |
{{note| 1= | {{note| 1= | ||
:*<div>See also [[RemoveUndefined Command]]. | :*<div>See also [[RemoveUndefined Command]]. | ||
:*You can also type <code>{1,3,4,4,9} \ {1,4,5}</code> if you want the set-theoretic difference .</div>}} | :*You can also type <code>{1,3,4,4,9} \ {1,4,5}</code> if you want the set-theoretic difference .</div>}} |
Latest revision as of 11:27, 6 October 2017
- Remove( <List>, <List> )
- Removes objects from the first list each time they appear in the second list.
- Example:
Remove({1,3,4,4,9},{1,4,5})
yields list{3,4,9}
.
Note:
- See also RemoveUndefined Command.
- You can also type
{1,3,4,4,9} \ {1,4,5}
if you want the set-theoretic difference .