1. .E files
- Posted by Paul Kerslake <paulk at UNISERVE.COM>
Aug 24, 2000
-
Last edited Aug 25, 2000
------=_NextPart_000_0009_01C00E16.506D8CC0
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I need to know how to 'use' .e files. Like this
.E FILE
atom number1,number2,number3,number4
number1=3D 2
number2=3D 23
number3=3D 234
number4=3D 2345
MAIN FILE (numbers.ex)
include numbers.e
? number1
? number2
? number3
? number4
I've seen a lot of Euphoria games done this way (Jason Mirwald's for =
instance) that use this same technique. Can you tell me how to do it?=20
I'd like to know how to do this so as not to have a large memory =
inefficient file.
thanks
-Thomas
------=_NextPart_000_0009_01C00E16.506D8CC0
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I need to know how to 'use' .e =
files. Like=20
this</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV>.E FILE</DIV>
<DIV> </DIV>
<DIV>atom number1,number2,number3,number4</DIV>
<DIV> </DIV>
<DIV>number1=3D 2</DIV>
<DIV>number2=3D 23</DIV>
<DIV>number3=3D 234</DIV>
<DIV>number4=3D 2345</DIV></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>MAIN FILE (numbers.ex)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>include numbers.e</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>? number1</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number2</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number3</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number4</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I've seen a lot of Euphoria games done this way (Jason Mirwald's =
for=20
instance) that use this same technique. Can you tell me how to do it? =
</DIV>
<DIV> </DIV>
<DIV>I'd like to know how to do this so as not to have a large memory=20
inefficient file.</DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV> </DIV>
------=_NextPart_000_0009_01C00E16.506D8CC0--
2. Re: .E files
- Posted by "Hawke'" <mikedeland at NETZERO.NET>
Aug 24, 2000
-
Last edited Aug 25, 2000
------=_NextPart_000_009A_01C00E1F.537C3D40
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
use the global command in the .e file for when u wanna access data or
functions from outside the file...
eg:
global atom number1,number2,number3,number4
etc...
----- Original Message -----=20
From: Paul Kerslake=20
To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
Sent: Thursday, August 24, 2000 9:57 PM
Subject: .E files
I need to know how to 'use' .e files. Like this
.E FILE
atom number1,number2,number3,number4
number1=3D 2
number2=3D 23
number3=3D 234
number4=3D 2345
MAIN FILE (numbers.ex)
include numbers.e
? number1
? number2
? number3
? number4
I've seen a lot of Euphoria games done this way (Jason Mirwald's for =
instance) that use this same technique. Can you tell me how to do it?=20
I'd like to know how to do this so as not to have a large memory =
inefficient file.
thanks
-Thomas
------=_NextPart_000_009A_01C00E1F.537C3D40
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>use the global command in the .e file =
for when u=20
wanna access data or</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>functions from outside the =
file...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>eg:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>global atom=20
number1,number2,number3,number4</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>etc...</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:paulk at UNISERVE.COM" title=3Dpaulk at UNISERVE.COM>Paul =
Kerslake</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:EUPHORIA at LISTSERV.MUOHIO.EDU"=20
title=3DEUPHORIA at LISTSERV.MUOHIO.EDU>EUPHORIA at LISTSERV.MUOHIO.EDU</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, August 24, 2000 =
9:57=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> .E files</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>I need to know how to 'use' .e =
files. Like=20
this</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV>.E FILE</DIV>
<DIV> </DIV>
<DIV>atom number1,number2,number3,number4</DIV>
<DIV> </DIV>
<DIV>number1=3D 2</DIV>
<DIV>number2=3D 23</DIV>
<DIV>number3=3D 234</DIV>
<DIV>number4=3D 2345</DIV></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>MAIN FILE (numbers.ex)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>include numbers.e</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>? number1</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number2</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number3</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number4</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I've seen a lot of Euphoria games done this way (Jason Mirwald's =
for=20
instance) that use this same technique. Can you tell me how to do it? =
</DIV>
<DIV> </DIV>
<DIV>I'd like to know how to do this so as not to have a large memory=20
inefficient file.</DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV> </DIV>
=
ML>
------=_NextPart_000_009A_01C00E1F.537C3D40--
3. Re: .E files
------=_NextPart_000_0024_01C00EE5.AAE1FA90
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I need to know how to 'use' .e files. Like this
.E FILE
You can add/include .e files (object) by the "include object.e" where =
object.e is the .E filename.
atom number1,number2,number3,number4
Atoms hold numbers values such as 2, 2.45,etc.
number1=3D 2
number2=3D 23
number3=3D 234
number4=3D 2345
here you are assigning the values to atoms you have declared earlier.
MAIN FILE (numbers.ex)
include numbers.e
Its a good idea if you inclide .E files in the beginning of the code.
? number1
? number2
? number3
? number4
This will show out put to "1" which is monitor.
You can also use printf(1, "Values are %1.f" , number1, number2, =
number3, number4)
I hope this helps you as it helped me a while ago. Thanks to nice =
coders here on EU list.
Great guys finish first. I love you all.
-Asif
I've seen a lot of Euphoria games done this way (Jason Mirwald's for =
instance) that use this same technique. Can you tell me how to do it?=20
I'd like to know how to do this so as not to have a large memory =
inefficient file.
thanks
-Thomas
------=_NextPart_000_0024_01C00EE5.AAE1FA90
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2>I need to know how to 'use' .e =
files. Like=20
this</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV>.E FILE</DIV>
<DIV> </DIV>
<DIV>You can add/include .e files (object) by the "include object.e" =
where=20
object.e is the .E filename.</DIV>
<DIV> </DIV>
<DIV>atom number1,number2,number3,number4</DIV>
<DIV> </DIV>
<DIV>Atoms hold numbers values such as 2, 2.45,etc.</DIV>
<DIV> </DIV>
<DIV>number1=3D 2</DIV>
<DIV>number2=3D 23</DIV>
<DIV>number3=3D 234</DIV>
<DIV>number4=3D 2345</DIV></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>here you are assigning the values to =
atoms you=20
have declared earlier.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>MAIN FILE (numbers.ex)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>include numbers.e</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Its a good idea if you inclide .E =
files in the=20
beginning of the code.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>? number1</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number2</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number3</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>? number4</FONT></DIV>
<DIV> </DIV>
<DIV>This will show out put to "1" which is monitor.</DIV>
<DIV> </DIV>
<DIV>You can also use printf(1, "Values are %1.f" , number1, number2, =
number3,=20
number4)</DIV>
<DIV> </DIV>
<DIV>I hope this helps you as it helped me a while ago. Thanks to nice =
coders=20
here on EU list.</DIV>
<DIV> </DIV>
<DIV>Great guys finish first. I love you all.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-Asif</DIV>
<DIV> </DIV>
<DIV>I've seen a lot of Euphoria games done this way (Jason Mirwald's =
for=20
instance) that use this same technique. Can you tell me how to do it? =
</DIV>
<DIV> </DIV>
<DIV>I'd like to know how to do this so as not to have a large memory=20
inefficient file.</DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV> </DIV>
=
ML>
------=_NextPart_000_0024_01C00EE5.AAE1FA90--