convert/and - convert list, set, expression to `and` form
convert/or - convert list, set to `or` form
convert/xor - convert list, set to `xor` form
|
Calling Sequence
|
|
convert(exprA, `and`)
convert(expr, `or`)
convert(expr, `xor`)
|
|
Parameters
|
|
exprA
|
-
|
list, set, or expression
|
expr
|
-
|
list or set
|
|
|
|
|
Description
|
|
•
|
The convert/and command converts a given list, set, or expression to an `and` form. Given expr as a list , convert/and converts the list into the form . If the given list or set is empty, true is returned.
|
•
|
The convert/or command converts a given list or set to an `or` form. Given expr as a list , convert/or converts the list into the form . If the given list or set is empty, false is returned.
|
•
|
The convert/xor command converts a given list or set to an `xor` form. Given expr as a list , convert/xor converts the list into the form . If the given list or set is empty, true is returned.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
|
|
Download Help Document
Was this information helpful?