forum-msg-id-135126-edit

Original date:2020-10-17 20:18:08 Edited by: irv Subject: Re: About get_key() alternative

Better, declare an override for get_key(), then you don't need to change the name;

----------------------------- 
override function get_key() 
-----------------------------  
-- drop-in replacement for the get_key() builtin   
    integer ch = get_key()  
    if platform()=WINDOWS then  
        if ch=1015936 then ch=9 end if  
    end if  
    return ch  
end function  

(Linux returns 9 as-is)

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu