Skip to content
Andrew Owen edited this page Jun 1, 2023 · 3 revisions

PLAY


PLAY mml_string_1[, mml_string_2[, ... mml_string_8]

Plays the tune defined by the Music Macro Language (MML) strings mml_string_1, ....

Example

10 a$ = "h1t100o2[[[1CCg-b]][[-E-E-b-D]][[FFC-E]][[GGDF]]]]"
20 b$ = "h2o5rrrrC-bfG]"
30 c$ = "h3o4[[3Cr]Cr1CCDD[3-Er]-Er1-E-EEE[3Fr]Fr1FF-G-G[3Gr]Gr1GG-EC]]"
40 d$ = "h4l9rrrrrrrr[9EGF7b5CD]]"
50 PLAY a$, b$, c$, d$

Parameters

  • mml_string_1...mml_string_8 are string expressions in MML.
  • At least one parameter must be provided and the statement must not end in a comma.

Errors

  • mml_string has a numeric value: Type mismatch.
  • mml_string has errors in the MML: Syntax error.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally