I've noticed from Whatsnew Changes in 2.13.0.7:
Compiler New Features
We have revised the behavior of the /vo4 and /vo11 command line options that are related to numeric conversions.
Meaning that Int to Dword conversions no longer lead to Compiler Errors but are added to the warnings list instead.
I've noticed this change because I've also tried to recompile my application with X# 2.12.0.0
I think this change is quite odd.
In my opinion the compiler should grow more strict over time.
The compiler in 2.13.0.7 currently ignores these conversion errors.
A sample would be:
This leads to no Compiler errors in 2.13.0.7:
Code: Select all
Local i, n:=0 As Dword
n += (Asc(SubStr(cContainernr,i,1))-55) * 2^(i-1)
Code: Select all
Local i, n:=0 As Dword
n += (Asc(SubStr(cContainernr,i,1))-55) * Dword(2^(i-1))