/
Core Library Extension

Core Library Extension

There are a number of built-in functions that are not part of the BrightScript Core Library. You can use the LIBRARY statement to include this subset of functions:

LIBRARY "v30/bslCore.brs"
bslBrightScriptErrorCodes() As roAssociativeArray

Returns an associative array of name/value pairs corresponding to BrightScript error codes and their descriptions.

bslGeneralConstraints() As roAssociativeArray

Returns an associative array of name/value pairs corresponding to system constants.

bslUniversalControlEventCodes() As roAssociativeArray

Returns an associative array of name/value pairs corresponding to the remote key code constraints.

AsciiToHex(ascii As String) As String

Returns a hex-formatted version of the passed ASCII string.

HexToAscii(hex As String) As String

Returns an ASCII-formatted version of the passed hex string.

HexToInteger(hex As String) As Integer

Returns the integer value of the passed hex string.

Related content

Objects and Interfaces
Objects and Interfaces
More like this
Language Reference
Language Reference
More like this
BrightScript Core Objects
BrightScript Core Objects
More like this
Built-In Functions
Built-In Functions
More like this
Global Functions
Global Functions
More like this
BrightScript-JavaScript Migration Guide
BrightScript-JavaScript Migration Guide
More like this