| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | ANAGRAM.BTM |
Hallo Alle,
before going off line for 2 weeks, here's a little batch I did for
recreation. It produces anagrams from whatever you throw to it on the
command line. Try your name, for example.
ANAGRAM.BTM
*setlocal
*unalias *
do while "%ink" == ""
unset *
set inpstr=%{at}repeat[%{at}char[255],10]%{at}replace[ ,%{at}char[255],%&]
set l=%{at}len[%inpstr]
do c=11 to %l
do until "%[%r]" == ""
set r=%{at}random[11,%l]
enddo
set %r=%{at}instr[%{at}dec[%r],1,%inpstr]
set outpstr=%[outpstr]%{at}instr[%{at}dec[%r],1,%inpstr]
enddo
echo %outpstr
inkey /w0 %%ink
enddo
Ostrhauderfehn, 7. Oktober 1998, 10:21:54
*Klaus Meinhard*
--- WP/95 Release 1.3A (184.0) Reg.
* Origin: Herr gib mir Geduld, aber schnell...! (2:2449/236.1005)SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252 @PATH: 2449/236 200 150 24/888 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.