Loading ...
Sorry, an error occurred while loading the content.

[Clip] Re: generate 20.000 names with letters

Expand Messages
  • Raymond Fitzgerald
    Hi Manuel, ... OK, see how this works for ya: H= abc combinations ; 120399/rayfitz ^!ClearVariables ^!SetListDelimiter | ^!SetArray
    Message 1 of 1 , Dec 3, 1999
      Hi Manuel,

      >How can I made a list of posibles combinations of letters abc?.
      >I woul like in a txt file the results. Example:

      OK, see how this works for ya:

      H="abc combinations"
      ; 120399/rayfitz
      ^!SetListDelimiter |
      ^!SetArray %a1%=a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z
      ^!SetArray %a2%=a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z
      ^!SetArray %a3%=a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z
      ; long line!
      ^!Set %a%=^?{How many letters
      ; end of long line
      ^!SetHintInfo Working, please wait...
      ^!SetScreenUpdate OFF
      ^!Set %n1%=0
      ^!Set %n2%=0
      ^!Inc %n1%
      ^!If ^%n1% > ^%a% Done
      ^!Set %n3%=0
      ^!Inc %n2%
      ^!If ^%n2% > ^%a% Loop1
      ^!Inc %n3%
      ^!If ^%n3% > ^%a% Loop2
      ^!Append %Text%=^%a1^%n1%%^%a2^%n2%%^%a3^%n3%%^%nl%
      ^!Goto Loop3
      ^!Toolbar New Document
      ; end of clip

    Your message has been successfully submitted and would be delivered to recipients shortly.