matty
Scripting Guru
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
Posts: 8328 Reputation: 109
39 / / ![Canada Flag](images/flags/ca.png)
Joined: Dec 2002
Status: Away
|
RE: Problem with Script - ; required? Where?
blah why not do this
code: var aWordArray = new Array ('Hello!', 'Hi!', 'Yo', 'Allo', 'Hiya', 'How are you?');
Debug.Trace(aWordArray[Math.round(Math.rand() * aWordArray.length + 1)]);
This post was edited on 08-01-2007 at 08:16 PM by matty.
|
|