Group Statement Uses (...); Format

This section describes how to enter group statements in H source code.

A group statement must be enclosed between "(" and ")".

This helps us to tie multiple statements together as a single statement to be used as a component to another statement. Within a group statement, variable visibility is not changed. For example,

$if error != $null, (
   log(error);
   $throw error;
);

Design options:

1. A group statement is enclosed in { and }.

2. A group statement is enclosed in ( and ).

3. A group statement is enclosed in BEGIN and END.

4. A group statement is identified with extra indentation.

Table of Contents

 About This Book

 Introduction of H Language

Syntax

 Source Code Encoding Format - UTF-8

 Statements End with Semicolons

 Inline Comments Start with #

 Block Comments Enclosed in #(...)#

Group Statement Uses (...); Format

 Block Statement Uses {...}; Format

 Data Types

 Variables

 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