Brightsign BrightScript 2 Reference Guide Manuel d'utilisateur Page 23

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 59
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 22
23
Creating and Using Intrinsic Objects
In most of this manual we use the term “object” to refer to a “Roku Object”. These are C
or C++ components with interfaces and member functions that BrightScript uses directly.
Other than a few core objects that BrightScript relies upon (roArray, roAssociativeArray,
roInt, etc.) Roku Objects are platform specific.
You can create “intrinsic” objects in BrightScript itself to use in your scripts. However,
to be clear, these are not Roku Objects. There is currently no way to create a Roku
Object in BrightScript, or to create intrinsic objects that have interfaces (they only
contain member functions, properties, or other objects).
A BrightScript object is built upon an Associative Array. In fact, it is an
roAssociativeArray. When a member function is called “from” an AssociativeArray, a
“this” pointer is set. The “this” pointer is “m”. “m” is accessible inside the FUNCTION
code to access object keys.
A “constructor” in BrightScript is a normal function at global scope that creates the
AssociativeArray and fills in its member functions and properties. There is nothing
“special” about it.
For an example, see the “snake” game at the end of this manual.
Vue de la page 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 58 59

Commentaires sur ces manuels

Pas de commentaire

Samsung RCD-M75U manuals

Owner’s manuals and user’s guides for CD radios Samsung RCD-M75U.
We providing 1 pdf manuals Samsung RCD-M75U for download free by document types: User Manual






More products and manuals for CD radios Samsung

Models Document Type
MM-A54 User Manual Samsung MM-A54 사용자 설명서, 28 pages
S-Y3650 User Manual Samsung S-Y3650 사용자 설명서, 50 pages
MM-A25 User Manual Samsung MM-A25 사용자 설명서, 26 pages
MAX-B420 User Manual   Samsung MAX-B450 Manual do usuário, 25 pages
MAX-WB630 User Manual   Samsung MAX-WB630 Navodila za uporabo, 24 pages
MM-E330D User Manual   Samsung MM-E330 Посібник користувача, 17 pages
MAX-A54 User Manual   Samsung MAX-A54 Manuale utente [es] , 14 pages
EV-1 User Manual   Samsung EV-1 Manual de Usuario, 21 pages
RCD-C3 User Manual Samsung RCD-C3 사용자 설명서, 18 pages
MAX-L45 User Manual   Samsung MAX-L45 Manual de usuario, 23 pages
MM-ZB59 User Manual   Samsung MM-ZB59 Manual de usuario [en] [fr] , 22 pages
MAX-WL87 User Manual   Samsung MAX-WL87 Manual de usuario, 25 pages
MAX-S530 User Manual   Samsung MAX-S530 Manual de usuario, 26 pages
MAX-S530 User Manual   Samsung MAX-S520 Manual de usuario, 24 pages
MAX-L82 User Manual   Samsung MAX-L82 Manual de usuario [en] , 25 pages
MAX-ZJ650 User Manual   Samsung MAX-ZJ650 Manual de usuario, 14 pages
MM-X55 User Manual Samsung MM-X55 사용자 매뉴얼, 15 pages
MM-T55 User Manual Samsung MM-T55 사용자 매뉴얼, 14 pages
MQ-L543 User Manual Samsung MQ-L543 사용자 매뉴얼, 27 pages
MM-A24 User Manual Samsung MM-A24 사용자 매뉴얼, 26 pages