Re: .E files
- Posted by Asif Masood Baloch <cyberego at QTA.PAKNET.COM.PK> Aug 25, 2000
- 395 views
------=_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--