Variable Types Are Dynamic

This section describes what is a variable in H language.

Variables are dynamically typed, not statically typed.

This allows us to freely reuse the same variable to refer data of different types. For examples,

x = integer(1); # variable x refers to an integer data
x = string("One"); # variable x refers to a string data now
x = array(1,2,3); # variable x refers to an array data now

Table of Contents

 About This Book

 Introduction of H Language

 Syntax

 Data Types

Variables

 What Is a Variable

 Variable Names

Variable Types Are Dynamic

 Expressions

 Statements

 "boolean" Data Type

 "integer" Data Type

 "string" Data Type

 "real" Data Type

 "array" Data Type

 Source Code Packages

 Classes and Objects

 Object Oriented Programming

 Inheritance - Object Attachments

 Encapsulation - Private Members

 References

 Full Version in PDF/ePUB