inline assignment
Posted: Sat Dec 07, 2024 11:48 am
Hi all,
Using X# 2.21.0.5
I don't know if this has to be reported or not.
In VO I've the following code:
in X#, the same code gives me
XS0219 The variable 'lSuccess' is assigned but its value is never used
if I change the code in:
then the warning goes away.
It is intended to work this way?
Sorry for newbie question, still learning.
Stefano
Using X# 2.21.0.5
I don't know if this has to be reported or not.
In VO I've the following code:
Code: Select all
LOCAL lSuccess AS LOGIC
IF lSuccess := ( ALen( auBalancesID ) ) > 0
// some stuff
ENDIF
XS0219 The variable 'lSuccess' is assigned but its value is never used
if I change the code in:
Code: Select all
LOCAL lSuccess AS LOGIC
lSuccess := ( ALen( auBalancesID ) ) > 0
IF lSuccess
// some stuff
ENDIF
It is intended to work this way?
Sorry for newbie question, still learning.
Stefano