String class

Homepage
Wrappers

Introduction

The String class "wraps" a string value to allow storing it where a class object is required.

Structure

  1. "Class values"
  2. String value

Functions

New and Destroy

String_new(value = ""):
Creates a new String object.

String_destroy(StringObject):
Destroys the String object and frees its memory.

Getters and Setters

String_getValue(StringObject):
Returns the value stored in the String object.

String_setValue(StringObject, value = ""):
Sets the value stored in the String object.


Homepage  |  Wrappers