Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!munnari.oz.au!manuel!ccadfa!prolix!dac From: dac@prolix.pub.uu.oz.au (Andrew Clayton) Newsgroups: comp.sys.amiga.programmer Subject: Re: Ok.Somebody Post a 20byte Hello World prg!! Message-ID: <18be8cca.ARN1037@prolix.pub.uu.oz.au> Date: 26 Feb 91 10:57:46 GMT References: <91053.081053J56QC@CUNYVM.BITNET> <19298@cbmvax.commodore.com> Reply-To: dac@prolix.pub.uu.oz.au Followup-To: comp.sys.amiga.programmer Organization: More like Mis~, really. Lines: 30 In article <19298@cbmvax.commodore.com>, Paul Higginbottom - CATS writes: > In article <91053.081053J56QC@CUNYVM.BITNET> J56QC@CUNYVM.BITNET writes: > $Ok..I would like to see a program That displays "HELLO WORLD" in 20bytes if tha > $ is possible.....anyway write it in a language other that assembler(which is th > $ best!) Thanks.... > > Here it is (ARexx)... > > /**/ > say hello world How about a really small ROT program in Arexx... /*Rot 13 in REXX*/ Rotated = "nopqrstuvwxyzabcdefghijklm" Normal = "abcdefghijklmnopqrstuvwxyz" PARSE ARG Input Temp = Translate(Input,Rotated,Normal) Say Translate(Temp,UPPER(Rotated),UPPER(Normal)) I used variables that were readable, and it's even got a comment, and is only 201 bytes long. Well, I thought it was neat. :-/ Dac -- David Andrew Clayton. // _l _ _ dac@prolix.pub.uu.oz.au *or*|I post.I am. Canberra, Australia.\X/ (_](_l(_ ccadfa.cc.adfa.oz.au!prolix!dac@munnari.oz