Yes I confirm this...however it sets result automatically to the key code.

so ur code should work like this :-

inkey(debug_str);
str_cat_num(debug_str, "%.0f", result);


regards
zazang


I like good 'views' because they have no 'strings' attached..