Re: ver 4.0 c_func problem on WIN98

new topic     » goto parent     » topic index » view thread      » older message » newer message
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 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu