Rosnmpevent – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 233

Advertising
background image

225

roSnmpEvent


Interfaces:

ifString

,

ifStringOps


The ifString interface provides the following:

GetString() As String

SetString(a As String)


The ifStringOps interface 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 itself—this 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'

Len() As Integer

Advertising