$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
m (Formatting) |
No edit summary |
||
Line 8: | Line 8: | ||
{{PageParameters}} | {{PageParameters}} | ||
* The current unstable features are as follows: | * The current unstable features are as follows: | ||
** '''MIDI''' allows usage of the [[$MIDISOUNDFONT]] metacommand | ** '''MIDI''' allows usage of the [[$MIDISOUNDFONT]] metacommand ({{Text|deprecated|red}}) | ||
** '''HTTP''' allows opening HTTP connections using [[_OPENCLIENT]] | ** '''HTTP''' allows opening HTTP connections using [[_OPENCLIENT]] | ||
Line 17: | Line 17: | ||
* Language features that become a permanent part of the language will no longer require [[$UNSTABLE]] to be used. | * 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. | * More than one [[$UNSTABLE]] can be used in a program. | ||
Line 31: | Line 30: | ||
</gallery> | </gallery> | ||
<!-- additional availability notes go below here --> | <!-- additional availability notes go below here --> | ||
* MIDI keyword added in '''QB64-PE v3.2.0''' | * '''MIDI''' keyword added in '''QB64-PE v3.2.0''' | ||
* HTTP keyword added in '''QB64-PE v3.5.0''' | * '''HTTP''' keyword added in '''QB64-PE v3.5.0''' | ||
* '''MIDI''' keyword was {{Text|deprecated|red}} in '''QB64-PE v3.14.0'''. Use [[_MIDISOUNDBANK]] instead. | |||
Line 47: | Line 47: | ||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [[$MIDISOUNDFONT]] | * [[$MIDISOUNDFONT]] ({{Text|deprecated|red}}) | ||
* [[$MIDISOUNDBANK]] | |||
* [[_OPENCLIENT]] | * [[_OPENCLIENT]] | ||
{{PageNavigation}} | {{PageNavigation}} |
Revision as of 14:09, 23 July 2024
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 be removed between releases.
Syntax
- $UNSTABLE: {MIDI, HTTP}
Parameters
- The current unstable features are as follows:
- MIDI allows usage of the $MIDISOUNDFONT metacommand (deprecated)
- HTTP allows opening HTTP connections using _OPENCLIENT
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
- MIDI keyword added in QB64-PE v3.2.0
- HTTP keyword added in QB64-PE v3.5.0
- MIDI keyword was deprecated in QB64-PE v3.14.0. Use _MIDISOUNDBANK instead.
Examples
$UNSTABLE:MIDI ' This line is only allowed when $UNSTABLE:MIDI is used $MIDISOUNDFONT: Default _SNDPLAYFILE "example.mid" |
See also
- $MIDISOUNDFONT (deprecated)
- $MIDISOUNDBANK
- _OPENCLIENT