On Thursday 03 January 2008 17:12, Benoit Minisini wrote: > Do not do that. You must type: IF Key.Code = Key["A"] ... OK, but I copied the Asc() straight from the docs: http://gambasdoc.org/help/comp/gb.qt/key/code Rob