创建一个能够随机生成莎士比亚式辱骂语的程序。
//生成随机莎士比亚式辱骂语的函数

FUNCTION generateInsult()

//创建一个被选中的单词数组
words = ["artless", "bawdy", "beslubbering", "bootless", "churlish", "cockered"];

//生成两个随机数字来选择使用哪些单词
i1 = RANDOM(words.length - 1);
i2 = RANDOM(words.length - 1);

RETURN "Thou art a " + words[i1] + " " + words[i2] + " rogue!";

END FUNCTION