Hi Yakano,
> No, I don't need a calculator, I already have that. Maybe I have
> expressed myself wrong, I include the calculator as an example and in
> case it can be useful to someone.
OK, I see :-)
> I have tried CalcReader () and it doesn't work right. When entering the
> numbers, some are lost and others change their order. The image below is
> the result of writing 12, which makes it 21. And if you keep writing the
> mess is even greater.
>
> That code doesn't work, however the idea of using the SEND clause within
> the GET may be interesting to explore a possible solution.
The SEND clause is just a preprocessor command to tell the get system to
use a separate get reader for this get. This is what the get setup for
<nTestData3> is peprocessed into:
SetPos( Row(), Col() + 1 ) ;
AAdd( GetList, _GET_( nTestData3, "nTestData3", padl("#",15),, ) ) ;
ATail( GetList ):reader:={|oGet|CalcReader(oGet)} ;
ATail( GetList ):Display()
As I said, I had not used CalcReader(), but I thought it looked good. I
have made a quick test now, and I don't get your misplaced digit, but I
noticed that the first digit entered was displayed in the second to last
position instead of the last and was then lost when I entered the second
digit. But when I press <Home> before the first digit, it works. So
there seems to be a little glitch that needs fixing. I don't have the
time for that right now but will test the assembling of the picture ASAP
to see if I can figure it out. I suggest you try the samt trick in the
meantime so we can compare notes later.
Regards,
Klas