Generate random Characters...

What is the command to generate a 6 lenght word with a random characters?



Thanks


Comments

  • : What is the command to generate a 6 lenght word with a random characters?
    :
    :
    :
    : Thanks
    :

    I don't know if there's a command, but this also works :)

    var
      i: integer;
      s: string;
    begin
      Randomize;
      s:='';
      for i:=0 to 5 do
        s:=s + chr(Random(26)+65);
    end;



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories