Hi, is there a concise way to express the “for” circulation like “[println(i, j) for i = 1 : j, j = 1:3]”, I encounter the “ERROR: UndefVarError: j not defined”. I thought such an expression is more concise than
If you really don’t need the output vector, for j = 1:3, i = 1:j println(i, j) end in one line works and is shorter than that array comprehension, newlines aren’t needed for most blocks (I almost said all but off the top of my head, let’s header is an exception) and can be replaced with ; if needed.