Player APIs (BrightScript & Ja...
...
BrightScript
Language Reference
Core Library Extension
4min
there are a number of built in functions that are not part of the brightscript core library you can use the program statements docid\ xjncz5p2xsv5j9geofi13 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