Brightsign BrightScript 2 Reference Guide Manuel d'utilisateur Page 43

  • 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 42
43
PostMessage(msg As Object) As Void
roInt, roFloat, roString, roBoolean, roBrSub, roInvalid
The intrinsic types Integer (“Integer”), Float (“Float”), “rotBrSub”, Boolean (“Boolean”),
Invalid (“Invalid”) and String “String” have an object and interface equivalents, with the
following interfaces:
ifInt
GetInt() As Integer
SetInt(value As Integer) As Void
ifFloat
GetFloat() As Float
SetFloat(value As Float) As Void
ifString
GetString() As String
SetString(value As String) As Void
ifStringOps
SetString(s As String, strlen As Integer) As Void
AppendString(s As String, strlen As Integeter) As void
Len() As Integer
GetEntityEncode() As String
Tokenize(delim as String) As Object
Trim() As String
MD5() As String
ifBrSub
GetSub() As String
SetSub(value As BrSub) As Void
ifBoolean
GetBolean() As Boolean
SetBoolean(value As Boolean) As Void
. These are useful in the following situations:
When an object is needed, instead of an intrinsic value. For example, “roList”
maintains a list of objects. If an Integer is added to roList, for example, it will be
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 58 59

Commentaires sur ces manuels

Pas de commentaire