Re: Calling a procedure
----- Original Message -----
From: "jondolar" <lavigne.s at videotron.ca>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Calling a procedure
[snip]
> >
> > 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() ----<< USES ()
> >
> It stil doesn't work (with Parenthesis)
>
> arghh
Let me get this straight.
a) You create a text file called "test.ex".
b) The file "test.ex" contains these eleven lines...
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()
c) After saving the file you start up the DOS command window.
d) At the DOS prompt, you set the correct directory - where you saved the
file to.
e) You then type in "ex test.ex" at the DOS command prompt.
f) And then ??? what happens - EXACTLY.
When I do this I get the word "Jos" appearing at line 10, column 10. It then
waits til I press a key. Then I get a DOS prompt.
--
Derek
|
Not Categorized, Please Help
|
|