What it does
SaveSound writes to a Sound object: it saves rather than reads. It takes iID (an integer) and sFilename (a string), and returns nothing.
Syntax
SaveSound(iID integer, sFilename string)Parameters
| Name | Type |
|---|---|
| iID | integer |
| sFilename | string |
Every form returns
nothing
Example · generated
SaveSound(1, "assets/sound.wav")DO Sync()LOOPSaveSound 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.