How can I make comments/descriptions in MQL4 code?

How can I make comments/descriptions in MQL4 code?

Manage alerts

Loading saved threads...

Samaara · External communityPost link
External question — Stack Overflow Stack Exchange Author: Samaara Original post: https://stackoverflow.com/questions/76892950 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. In python and other languages, you can write a multiline description like this: def func(): ''' this is my function description ''' pass How do you do this in MQL4?
Quote
Report
PaulB · External communityPost link
External answer — Stack Overflow Stack Exchange Author: PaulB Original post: https://stackoverflow.com/a/76892981 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. You use two forward slashes, for example void function() { // Description } If you want to use multi-line descriptions, you can block out portions of code, for example void function() { /* Description line 1 Description line 2 */ }
Quote
Report

Post Reply

Checking account access…