• Revista PROGRAMAR: Já está disponível a edição #53 da revista programar. Faz já o download aqui!

Sign in to follow this  
Followers 0

Funçao Randomize!

1 post in this topic

Author : DarkCoderSc
Function To randomise any string =)

Function RandomName : String;
const  Chars = '0123456789ABCDEFGHJKLMNPQRSTUVWXYZ';
S: string;
i, N: integer;
S := '';
for i := 1 to 8 do begin
    N := Random(Length(Chars)) + 1;
    S := S + Chars[N];
Result := S;

Funçao muito util por vezes


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0