OperatorsPGL supports unary and binary operators. Unary operators are `+', `-', and boolean `!'. Binary operators include `+', `-', `*', `/', and `^' (power); boolean `&&', `||', and `^^' (xor). The binary range operator `..' is supported for integer expressions. int[] sequence = 1 .. 10; // an array of 10 sequential numbers A value can be repeated or cloned using the binary clone operator `**'. int[] clones = [ 1 ** 10 ]; // an array of 10 ones addr[] addrs = [ '127.0.0.1' ** 10 ]; // 10 localhost addresses |