I'm seeing a possible bug in WMAN's WM.ENAME.

When I edit a string using this vector, and press ESC to terminate the edit, I'm seeing zero in D0 instead of a positive number. D1.W is correctly set to 27 for the ESC key.

The docs state that:

D0 negative is an error.
D0 zero means ENTER pressed to end the edit.
D0 positive means another key ended the edit.

What I'm finding in tracing the code is the following:

D0=0, D1=27, ESC pressed.
D0=0, D1=$0a, ENTER pressed.
D0=0, D1=$d0, UP pressed.
D0=0, D1=$d8, DOWN pressed.

It appears that D0 is always zero on return.


Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

Company Number: 05132767
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to