VBStr (class)

From PGE Wiki
Jump to: navigation, search

This class wraps a Visual Basic 6 string pointer. Currently it is very limited. This class cannot be constructed by the user.


VBStr class
Type Function/Field Return values/Value type Description
field VBStr.str string Reads/Writes the string pointer.
NOTE: Writing in the string pointer is not safe. You shouldn't write more than the original length of the string or it might crash.
field VBStr.length int The length of the string.
function VBStr:clear() nil Clears the string.
meta-function tostring(VBStr) nil Same as .str