Preprocessors: #line
Applies To: C++Builder 1 or higher
Category: C++ Language
- The #line directive is used for cross-reference and for debugging purposes. It modifies the value of the __LINE__ and __FILE__
- predefined identifiers. Its general form is:
-
- #line integer "filename"
-
- integer is the current line number of the source code and must be a positive integer. filename specifies the name of the source file and is optional. For example,
-
- #line 5 "myfile"
-
- will the set the current line to 5 and the filename to "myfile".
C++Builder Developer's Network
Copyright © Yoto Yotov