Can anyone tell me the exact purpose (or perhaps purposes) of the "%" character in RAPID syntax? For example, I'm reading through the Instructions section of the technical reference manual and there is the following example for the CallByVar instruction:
Code
Example 2 - Dynamic selection of procedure call with RAPID syntax
reg1 := 2;
%"proc"+NumToStr(reg1,0)% door_loc;
The procedure proc2 is called with argument door_loc.
Limitation: All procedures must have a specific name, for example, proc1, proc2, proc3.
That example makes it appear like "%" can be used to make executable code out of string literals. Is that correct? Thanks!