Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetRandomWord() : string;
- var
- words : TStrArray;
- begin
- words := ['Apple', 'Banana', 'Peach', 'Blueberry'];
- result := words[Random(length(words))];
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement