|
Post by mrkarlos on Dec 8, 2021 10:18:40 GMT
I tried to use an ALIAS for an indirect variable but it didn't work. Is this a known issue?
ALIAS I0 i_reg0 ALIAS I1 i_reg1 .... WHILE i_reg1 < i_reg0 MATH i_checksum = i_checksum + Mi_reg1 # <--- Need to use Index number as ALIAS i_reg1 does not work MATH i_reg1 = i_reg1 + 1 END
I am using the SB in the most recent MidiDesigner Pro so I want to check if it is a general issue in SB or a specific issue with the MDP implementation.
|
|
|
Post by uncledave on Dec 8, 2021 11:56:43 GMT
I don't believe it is meant to work in SB. The simple parsing it uses just substitutes the actual variable names for the aliases when they appear as separate words. It only recognizes the indirect references when they're spelled out exactly, e.g. MI1. I also uses aliases for register names, but cannot use them for indexing. Sorry.
|
|