#IFADIM !1 // first skip past all []s ARRAY_ARGUMENT_REPLACE_HELPER !2 !3 !4 !5 !6 !7 !8 !9 #ELSE // start of line is now either "BYREF VarName" or "varName" #IFSAME !1 BYREF #IFSAME !$ K #REPLACE !2 |RA-!ZG!$!qV!h #ELSE #REPLACE !2 |RA-!ZG!$!q #ENDIF #ELSE #IFSAME !$ K #REPLACE !1 |SA-!ZG!$!qV!h #ELSE #REPLACE !1 |SA-!ZG!$!q #ENDIF #ENDIF #ENDIF