LDA-Constant-Bug

Hello all!

The following phenomenon occurs on our Natural 6.1.1-Environment:

We got an LDA “LDACONST” with the following content:

1 #LDAVAR (A10) const <'12''456''890'> 

The const-value is entered as a “single value init”. Please note the single quotes.

Plus the following program:

define data
local using ldaconst
local
1 #progvar (A10) const <'12''456''890'>
end-define
write '=' #ldavar
write '=' #progvar
end

output:

#LDAVAR: 12'456'8
#PROGVAR: 12'456'890

Only the first 8 byte of #LDAVAR were written into the compiled LDA. I think, it is a bug. What about the newer versions of Natural?

Regards

Matthias

Hi Matthias

Works fine on 6.3.7

steve

Hi Steve Robinson!

So it doesn’t make sense to do a servline24-call…

Thanks for testing!

BTW: My company should do a Natural-upgrade…

Here at home I got Natural 6.2.3 for Windows (Community Editon).
–> Works also fine.

So this bug was fixed between Nat. 6.1.1 and Nat 6.2.3.