Consultor Eletrônico



Kbase 13996: Emulating foreign (international) keyboard for testing
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Emulating foreign (international) keyboard for testing

Often times, one of our customers in Europe reports
a bug like: "It only happens when I press a-umlaut in
and UPDATE statement"

We go scrambling for a terminal which has an a-umlaut
key. Its even more inconvenient if the bug is reported
by someone with an eastern-european keyboard and we
have never even heard of the character.

There is an easy shortcut which can frequently be used
to reproduce the bug without finding a special terminal:

For example, a-umlaut has numeric value 228 or 132, depending
on which codepage is being used. So, to simulate
pressing a-umlaut in an UPDATE myvar, do this:

DEF VAR myvar AS CHAR.
UPDATE myvar EDITING:
APPLY 228. /* or 132 */
LEAVE.
END.

Progress Software Technical Support Note # 13996