What it does
Speak takes text (a string), and returns nothing. That is the first of 2 forms.
Syntax
1
Speak(text string)2
Speak(text string, delay integer)Parameters
| Name | Type | In forms |
|---|---|---|
| text | string | all |
| delay | integer | 2 |
Every form returns
nothing
Example · generated
Form 1, the short one
Speak("hello")DO Sync()LOOPForm 2, with every argument
Speak("hello", 1)DO Sync()LOOPSpeak is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.