Brightsign Object Reference Manual (FW 5.1) Manuel d'utilisateur Page 32

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 341
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 31
24
roInt also contains the ifIntOps interface, which provides the following:
ToStr() As String
roFloat contains the ifFloat interface, which provides the following:
GetFloat() As Float
SetFloat(value As Float) As Void
roString contains the ifString interface, which provides the following:
GetString() As String
SetString(value As String) As Void
roString also contains the ifStringOps interface, which provides the following:
Note: The function indexes of ifStringOps methods start at zero, while the function indexes of global methods start at
one.
SetString(str As String, str_len As Integer): Sets the string using the specified string and string-
length values.
AppendString(str As String, str_len As Integer): Appends the string using the specified string and
string-length values. This method modifies itselfthis can cause unexpected results when you pass an intrinsic
string type, rather than a string object.
Example:
x="string"
x.ifstringops.appendstring("ddd",3)
print x 'will print 'string'
y=box("string")
y.ifstringops.appendstring("ddd",3)
print y 'will print 'stringddd'
Vue de la page 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 340 341

Commentaires sur ces manuels

Pas de commentaire