Path: utzoo!mnetor!uunet!mcvax!unido!rmi!shimoda From: shimoda@rmi.UUCP (Markus Schmidt) Newsgroups: comp.sys.amiga Subject: Another stupid program or greetings to Leo Schwab Message-ID: <917@rmi.UUCP> Date: 10 Mar 88 23:39:41 GMT References: <34268R38@PSUVM> <3349@bloom-beacon.MIT.EDU> <5183@swan.ulowell.edu> <203@toylnd.UUCP> Reply-To: shimoda@rmi.UUCP (Markus Schmidt) Organization: RMI Net, Aachen, W.Germany Lines: 72 2 ? /* * What happens if it is 10 pm and you don't know what to do? * You remember a guy who wrote something about boredom, search * the message and find a assembly program he wrote out of bore- * dom. So you take out the SYS2 and say as neeto.asm and * ln neeto.o c.lib and see it. * So you think let's do it too, take SYS1 of Manx 3.4a also, and * begin to type ... * z neeto.c */ char fwd[]= " =--->\x9b5D"; char bck[]= "<---= \x9b7D"; _main() { char *Output(); register char i, j; for (i=0; j<10;j++) for (j=0; i<70; i++) Write(Output(), (j&1)?bck:fwd, 9L); } /* * * and at the end of this you say: * cc neeto.c * ln neeto.o c.lib * neto and you see it again. * But you take the assembly version since it is 8 byte shorter :-( * (Made in W-Germany) */ Ehh, sorry for the extra-linefeed! markus (shimoda@rmi.uucp)