$UNSTABLE: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Added documentation of new $MIDISOUNDFONT metacommand) |
m (Revert accidental changes to this page) Tag: Manual revert |
||
Line 1: | Line 1: | ||
The [[$ | The [[$UNSTABLE]] metacommand is used to enable the use of features that have not yet been made a permanent part of the language. Features hidden behind this metacommand may have breaking changes or removed between releases. | ||
{{PageSyntax}} | {{PageSyntax}} | ||
:[[$ | :[[$UNSTABLE]]: {MIDI} | ||
{{Parameters}} | {{Parameters}} | ||
* | * The current unstable features are as follows: | ||
** | ** '''MIDI''' allows usage of the [[$MIDISOUNDFONT]] metacommand | ||
{{PageDescription}} | {{PageDescription}} | ||
* | * [[$UNSTABLE]] exists as a way to allow usage of new language features before they are finalized as part of the language. | ||
* | * Any languages features hidden behind [[$UNSTABLE]] may be changed in breaking ways in the next version of QB64-PE. | ||
* Language features that become a permanent part of the language will no longer require [[$UNSTABLE]] to be used. | |||
* More than one [[$UNSTABLE]] can be used in a program. | |||
Line 33: | Line 31: | ||
{{cl|_SNDPLAYFILE}} "example.mid" | {{cl|_SNDPLAYFILE}} "example.mid" | ||
{{CodeEnd}} | {{CodeEnd}} | ||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [[$ | * [[$MIDISOUNDFONT]] | ||
{{PageNavigation}} | {{PageNavigation}} |
Revision as of 14:54, 11 September 2022
The $UNSTABLE metacommand is used to enable the use of features that have not yet been made a permanent part of the language. Features hidden behind this metacommand may have breaking changes or removed between releases.
Syntax
- $UNSTABLE: {MIDI}
- The current unstable features are as follows:
- MIDI allows usage of the $MIDISOUNDFONT metacommand
Description
- $UNSTABLE exists as a way to allow usage of new language features before they are finalized as part of the language.
- Any languages features hidden behind $UNSTABLE may be changed in breaking ways in the next version of QB64-PE.
- Language features that become a permanent part of the language will no longer require $UNSTABLE to be used.
- More than one $UNSTABLE can be used in a program.
Availability
- QB64-PE v3.2 and up (QB64 Phoenix Edition)
Examples
$UNSTABLE:MIDI ' This line is only allowed when $UNSTABLE:MIDI is used $MIDISOUNDFONT: Default _SNDPLAYFILE "example.mid" |
See also