[comp.sys.amiga] Another stupid program or greetings to Leo Schwab

shimoda@rmi.UUCP (Markus Schmidt) (03/11/88)

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)