Inline Comments Start with #

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

An inline comment must be started with a # sign and ended with the line end.

This allows developers to enter a comment string anywhere in a statement on a single line. For example,

# This is an inline comment

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

Design options:

1. An inline comment starts with # and ends with line end.

2. An inline comment starts with // and ends with line end.

3. An inline comment starts with -- and ends with line end.

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