Robert, Chris,
Note that the error points to line 5 (I am using VS2019). This line contains the declaration of a set of variables of type DWORD:
Code: Select all
LOCAL dwMsg, i, nMax, n1, n2, crText AS DWORD
I looked at this line in bewilderment and did not understand what had to do with LOGIC and the transfer of parameters in general. If the error pointed to a real line with an error (thanks to Chris for the hint), then I would probably guess the reason and take some action.
robert wrote: is it possible to strongly type the variable ? Maybe by using an interface.
That would also make this code perform better !
This is the old VO code transported to XSharp. Unfortunately, such code will still be found. The code in which I encountered the error today compiled without problems in XSharp 2.5b.
Best regards,
Leonid