Av8or1ab
Member
I am trying to read a datablock using indirect addressing. My code is as follows
(int)DispX_DBNO = 151
(int)CurrScreen
OPN [#DispX_DBNO]
L DBB 4
T #CurrScreen
When I look at DB151.DBB4 the value is 5 which is correct. But using the code the value returned is a 0 . What simple mistake am I making?
Thanks
(int)DispX_DBNO = 151
(int)CurrScreen
OPN [#DispX_DBNO]
L DBB 4
T #CurrScreen
When I look at DB151.DBB4 the value is 5 which is correct. But using the code the value returned is a 0 . What simple mistake am I making?
Thanks