You can refer to local data by it's absolute address but imagine what will happen if a new temp variable is added in front of the area you are referring to......
The solution is to use indirect addressing and AR1 to point to the named local variable. If a new temp is added no other code change is required.
Code:L #Alarm_Active T #Alarm_Active_T LAR1 P##Alarm_Active_T A [AR1,P#0.0] = #b00 A [AR1,P#0.1] = #b01 //.. //... etc //..
That is great! Thanks LD. . I will use that idea and i see why you have BOLD on can and but.
Last edited: