IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Well, if we're running in the interpreter:
Python:

'*shun*'*50

will output *shun* 50 times.

Does Rexx have a command-line option?
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Yeah, it's called rexxtry

Actually, that's the format you'd use in rexxtry:

\r\n\r\n
rexxtry do 50; say '*shun*'; end
\r\n\r\n

Hmmm... using object rexx you could do something like this:

\r\n\r\n
rexxtry say ('*shun*'0d0a~x2c)~copies(50)
\r\n\r\n

which will put out fifty lines. If you don't care about actual lines of output, you could do

\r\n\r\n
rexxtry say '*shun*'~copies(50)
\r\n\r\n

Of course, if you wanted to mix'n'match functional/oo ("Heresy!", he cried), you might want to change the second example to be

\r\n\r\n
rexxtry charout(,('*shun*'0d0a~x2c)~copies(50))
\r\n\r\n

Or, alternatively, and keeping more in tune with the built-in object model, you could do

\r\n\r\n
rexxtry .output~charout(('*shun*'0d0a~x2c)~copies(50))
\r\n\r\n

All depends on how you want to go about it, I guess:)

--\r\n-------------------------------------------------------------------\r\n* Jack Troughton                            jake at consultron.ca *\r\n* [link|http://consultron.ca|http://consultron.ca]                   [link|irc://irc.ecomstation.ca|irc://irc.ecomstation.ca] *\r\n* Laval Qu\ufffdbec Canada                   [link|news://news.consultron.ca|news://news.consultron.ca] *\r\n-------------------------------------------------------------------
New way back in the stone ages...
I wrote a little utility called REXX. It would take a REXX statement and execute it, or if there were no arguments it would simulate a shell environment. I used it alot. I just checked. I still have it. Here's the opening comments:
\n/* Interactive REXX */                                          \n                                                                \n/* written  ??/??/?? by Carl Forde                            */\n/* modified 89/09/07 by Carl Forde - no errortext for NOVALUE */\n/*                                 - display command instead  */\n/* modified 90/02/01 by Carl Forde - remove signal on ERROR   */\n

By changing the filetype it would run as an XEDIT macro. Very handy for debugging XEDIT applications.
wow. makes me all nostalgic.
Have fun,
Carl Forde
     Mike-Shunning Competition - (pwhysall) - (48)
         Bitches. - (Yendor)
         Shunning Mike with the Snake: - (admin) - (7)
             Bitch -NT - (Yendor) - (6)
                 *shun* -NT - (admin)
                 *shun* -NT - (pwhysall)
                 self.idle("stop"); self.shun("Mike"); self.idle("start"); -NT - (drewk) - (3)
                     Bitch -NT - (Yendor) - (2)
                         Stop yer bitchin', bitch. -NT - (CRConrad) - (1)
                             Who asked you? - (Yendor)
         bashun - (kmself) - (15)
             Python still the one to beat at 31 characters. - (admin) - (7)
                 Well I Wouldn't want to shun Mike, but... - (Meerkat) - (3)
                     Oooers... - (admin)
                     Not you, too! - (Yendor)
                     Nice, but a wee problem... - (inthane-chan)
                 Not any more it ain't - (ben_tilly) - (2)
                     Perl range answer - (pwhysall) - (1)
                         Now inline it - (ben_tilly)
             Re: bashun II - (kmself) - (6)
                 woah... I like it... -NT - (folkert)
                 Reading trouble? - (ben_tilly)
                 bitch, etc -NT - (Yendor)
                 Re: bashun III - (kmself) - (1)
                     Very nasty - (ben_tilly)
                 You can lose a character - (ben_tilly)
         The undisputed master? - (CRConrad) - (2)
             Nope, invalid entry. - (admin)
             Not only that... - (Yendor)
         Bigger, badder, better... - (Yendor) - (6)
             Obfuscated, test cases included. - (Yendor) - (5)
                 /me thinks Mike has entirely too much free time - (drewk) - (4)
                     Absolutely. - (admin)
                     Not much else to do... - (Yendor) - (2)
                         Level 33 - (pwhysall) - (1)
                             Yeah, what's your point? - (Yendor)
         Re: Mike-Shunning Competition - (jake123) - (5)
             Well, if we're running in the interpreter: - (admin) - (2)
                 Yeah, it's called rexxtry - (jake123) - (1)
                     way back in the stone ages... - (cforde)
             Bitch. - (Yendor) - (1)
                 I am honoured. - (jake123)
         Gotta do an Icon version... - (static)
         Re: Mike-Shunning Competition - (deSitter) - (4)
             What, no prize?? -NT - (deSitter) - (3)
                 Well... - (ben_tilly) - (2)
                     Re: Well... - (deSitter) - (1)
                         Perhaps an example would help clarify - (ben_tilly)
         Clearly: this is how MAN entries are edited.__All explained. -NT - (Ashton)

Pain is merely nature's way of hurting you.
113 ms