Calling a procedure

new topic     » topic index » view thread      » older message » newer message

Hi everybody. Another newbie question. Here is a bit of code....

include get.e
object x,i
	x = "Jos"
procedure ABC()
	position (10,10)
	puts(1,x)
	puts (1,"\n")
	i = wait_key()
end procedure

ABC

This does not work. I just see the console window briefly with nothing 
on it. Yet If I remove procedure...end procedure, it works perfectly. 
This must be very simple. Sorry to waist your time

TIA

Serge Lavigne

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu