Block Comments Enclosed in #(...)#

This section describes how to enter block comments in H source code.

A block comment must be enclosed between "#(" and ")#".

This allows developers to enter a comment string anywhere in a statement cross multiple lines, or to end a comment string before the line end. For example,

#( This is 
   an example 
   of block comments
)#

pi #( The ratio of a circle's circumference to its diameter )# = 3.14159;

Design options:

1. A block comment starts with #( and ends with )#.

2. A block comment starts with /* and ends with */.

Last update: 2017.

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

 PDF Printing Version