Re: ver 4.0 c_func problem on WIN98
- Posted by DerekParnell (admin) Apr 22, 2009
- 1179 views
mattlewis said...
How do you suppose the interpreter knows when you've pressed a key, and it can continue? Technically, it uses get(0), not wait_key() (see Cleanup() in error.e for details).
Matt, the relevant code can be found in main.e ...
if src_file = -2 then -- No source supplied on command line show_usage() if find("WIN32_GUI", OpDefines) then any_key("(press any key and window will close ...)", STDERR) end if Cleanup(1) end if