User Guide
Comments
NetTradeX PC
NetTradeX Android
NetTradeX iOS
NetTradeX Mobile
NetTradeX Advisors
-
User Guide for NTTX Advisors
- NetTradeX Advisors Terminal
-
Articles
-
NetTradeX Language: Introduction
- Language Basics
- Language Functions
-
Language System Objects
- Deal Management
- Order Management
- Indicators
- Object-Oriented Programming
-
DLL files
-
Object Account
-
Object Bars
-
Object Chart
-
Object datetime
-
Object History
-
Object file
-
Object Globals
-
Object Math
-
Object Symbols
-
Object System
Comments
There are two ways to write comments in the NetTradeX language:
// single-line comment
/* multiline comment */
Single-line comments start with a pair of symbols // and end at the end of the line. Multiline comments start with /*
and end with */
, such comments cannot be nested, but single-line comments don't have such a restriction.
The compiler ignores comments, and they are designed for the ease of reading the code by the user/programmer.