Re: Line Generator
- Posted by Ad Rienks <kwibus at ZONNET.NL> Sep 08, 2000
- 530 views
------=_NextPart_000_0014_01C01934.044B2040 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thomas, desc should be an object, since gets(0) returns a sequence of 2 atoms. ----- Oorspronkelijk bericht -----=20 Van: Paul Kerslake=20 Aan: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Verzonden: vrijdag 8 september 2000 1:09 Onderwerp: Line Generator Can anyone tell me why I'm getting an error from this: include get.e atom desc desc=3Dgets(0) ? desc desc=3Ddesc[1] ? desc while desc>0 do puts(1,"!") end while =20 I'm making a program that generates lines according to what they type = in, but I need the enter ereased but not all the other numbers. -Thanks. -Thomas =20 ------=_NextPart_000_0014_01C01934.044B2040 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>Thomas,</DIV> <DIV> </DIV> <DIV>desc should be an object, since gets(0) returns a sequence of 2=20 atoms.</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">----- Oorspronkelijk bericht ----- = </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>Van:</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>Aan:</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>Verzonden:</B> vrijdag 8 september = 2000=20 1:09</DIV> <DIV style=3D"FONT: 10pt arial"><B>Onderwerp:</B> Line Generator</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>Can anyone tell me why I'm getting an = error from=20 this:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>include get.e</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>atom desc</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>desc=3Dgets(0)<BR>? = desc<BR>desc=3Ddesc[1]<BR>?=20 desc<BR>while desc>0 do<BR> puts(1,"!")<BR>end=20 while</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'm making a program that generates = lines=20 according to what they type in, but I need the enter ereased but not = all the=20 other numbers.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>-Thanks.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>-Thomas</FONT></DIV> <DIV><FONT face=3DArial = ------=_NextPart_000_0014_01C01934.044B2040--