Re: Ewl
- Posted by Philip Mullen <PETER at pmullen.fsnet.co.uk> Feb 16, 2002
- 482 views
This is a multi-part message in MIME format. ------=_NextPart_000_0049_01C1B71D.47419720 charset="iso-8859-1" ----- Original Message ----- From: Mark Brown To: EUforum Sent: Saturday, February 16, 2002 2:14 PM Subject: Re: Ewl Hi Philip, I assume you are trying to get your program to work with the "abort.ewl" file that came with your email using something like..... ex ewl.ex abort.ewl I have made a couple of small changes to your code which allows the program to get to the end. At the end it gets stuck in an endless while which I have left as it is as I am not sure what you are trying to achieve. If it isn't doing what you want, please let us know and include a bit more info such as what your command line is when you run the program and what your end result is meant to be. All the best, Mark Thanxs mark, you were correct about the command line parameters. And about the final loop, Whats ment to happen is that the interpreter take the PS variable and runs it throught the loop trying to find a match to the PS and then follows an action, like if the PS virable was A then the program would end. This is the meaning of the Abort.ewl file ------=_NextPart_000_0049_01C1B71D.47419720 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4134.600" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#fffff0> <DIV><FONT face=Arial size=2></FONT> </DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=mabrown at SENET.COM.AU href="mailto:mabrown at SENET.COM.AU">Mark Brown</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=EUforum at topica.com href="mailto:EUforum at topica.com">EUforum</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, February 16, 2002 2:14 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Ewl</DIV> <DIV><BR></DIV><PRE>============ The Euphoria Mailing List ============ </PRE> <DIV><FONT face=Arial size=2>Hi Philip,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I assume you are trying to get your program to work with the</FONT></DIV> <DIV><FONT face=Arial size=2>"abort.ewl" file that came with your email using something like.....</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>ex ewl.ex abort.ewl</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I have made a couple of small changes to your code which </FONT></DIV> <DIV><FONT face=Arial size=2>allows the program to get to the end. At the end it gets </FONT></DIV> <DIV><FONT face=Arial size=2>stuck in an endless while which I have left as it is as I am</FONT></DIV> <DIV><FONT face=Arial size=2>not sure what you are trying to achieve.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>If it isn't doing what you want, please let us know and include </FONT></DIV> <DIV><FONT face=Arial size=2>a bit more info such as what your command line is when </FONT></DIV> <DIV><FONT face=Arial size=2>you run the program and what your end result is meant to be.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>All the best,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Mark</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thanxs mark, you were correct about the command line parameters.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>And about the final loop, Whats ment to happen is that the interpreter take the PS variable and runs it throught the loop trying to find a match to the PS and then follows an action, like if the PS virable was A then the program would end. This is the meaning of the Abort.ewl ------=_NextPart_000_0049_01C1B71D.47419720--