Ranges
Ranges are used to represent an ordered sequence of integers. Cangjie has two types of ranges: the half-open range start..end doesn't include end, while the closed range start..=end includes end.
You can specify a step with : step. For example, 0..10 : 2 means starting from 0, adding 2 each time, until less than 10. The step can be negative for decreasing sequences. When the step is negative, start should be greater than end.
The step cannot be 0, otherwise it will result in a compilation error. If the step contradicts the direction of the range (e.g., positive step but start > end), it produces an empty range—the loop body will never execute during iteration.
Try changing .. to ..=, or modify the step value, and observe how the output sequence changes.