
776 | Corel Painter 2015 User Guide
PBOX
Operator usage Short form
<pattern> pbox <permutation> none
The left operand is a pattern of any length. The right operand is a permutation vector. Its length will be
adjusted, if necessary, (by trimming or repeating) to equal the length of the left operand.
Then, the organization of the permutation pattern is used to reorganize the elements of the pattern.
Pbox maintains the length of the left operand pattern.
Example Expansion
123456787654321 pbox 21436587 214365878563412
1-'8 pbox 4-18-5 4321876543218765
UPDOWN
Operator usage Short form
<pattern> updown <pattern> <>
The left and right operands are both patterns of any length. If either operand is shorter than the other, it is
extended (via repeating) to exactly the length of the other operand.
Then, UPDOWN generates alternating ascending and descending runs. An odd number of runs is always
generated. The expansion contains the ascending run from the first element of the left operand to the first
element of the right operand, followed by the descending run from there to the second element of the first
operand, etc. The operation is complete with the ascending run from the last element of the left operand to
the last element of the right operand.
The updown operator may be followed immediately (with no intervening characters) by any number of tick
marks ( ' ). A tick mark indicates to cycle through the domain before completing the up and down runs. The
number of tick marks sets the number of cycles.
Hello, im noob :)