Why Natural treets a blank in a numeric field like a zero value?!
DEFINE DATA
LOCAL
1 #F (N3)
1 REDEFINE #F
2 #N1 (N1)
2 #A2 (A1)
2 #N3 (N1)
END-DEFINE
#N1:= 1
RESET #A2
DISPLAY #F
IF #F = 100
WRITE '!!!' '=' #F
END-IF
#F := #F * 2
DISPLAY #F
END
#F
----
1 0
!!! #F: 1 0
200
LOCAL
1 #F (N3)
1 REDEFINE #F
2 #N1 (N1)
2 #A2 (A1)
2 #N3 (N1)
END-DEFINE
#N1:= 1
RESET #A2
DISPLAY #F
IF #F = 100
WRITE '!!!' '=' #F
END-IF
#F := #F * 2
DISPLAY #F
END
#F
----
1 0
!!! #F: 1 0
200
Thanks