Dynamic Arrays and Concatenation
A recent posting on the Rev forum asked about using compound assignment operators with dynamic arrays on the left side of the operator. A compound assignment operator is an operator that does multiple actions with one command. The compound assignment operators in Basic+ are += (add and assign) -= (subtract and assign) : = (concatenation and assign) Specifically, the poster was asking why the statement workRec < 10 > += CHECK_HISTORY < CHECK.AMOUNT$ > would not compile. It's been a long time since I looked at the meta for this( 1994-95) with the goal of allowing this structure in ARev 3.12, but I'll tell you what I remember. Without going into detail on how the compiler works, it parses the source and turns each command into a set of opcodes. Opcodes are more or less stored in a Reverse Polish notation structure. So, the command i = j becomes i , j , = < eoe > (where <eoe>...