H (Hybrid) Language - Version 0.02, by Dr. Herong Yang
All Data Are Structured Objects
This section describes H language data - structured objects.
All data are structured objects.
This allows developers to use all data in a consistent way. And structured objects can provided additional properties and methods. For example,
one = 1; write(one.type); # integer 1 is stored in a structured object string = "Hello!"; string.reverse(); # string "Hello!" is stored in a structured object write(string);
1. All data are structured objects.
2. Data are divided into two categories: primitive data and structured object data.
Last update: 2017.
Table of Contents