{ }
Can someone explain to me what these symbols do in the program? { }
Or tell me where to go to read about them...? can't find anything by just searching.
I'm just a newbie trying to teach myself to program in MQL4.
It's a BLOCK of code. read it like...
IF (bla bla) THEN
{
do all this
and this
etc
}
The curly brackets comes from the program language C, and MQL4 is very similar to the language C++, which origines from the language C.
So the curly brackets consists of a pair (a left and a corresponding right curly bracket). And everything in between is regarded as block of code.
In programming language Pascal a code block starts with BEGIN and ends with END
In programming language 'C' a code block starts with { and ends with }
In programming language Pascal a code block starts with BEGIN and ends with END
In programming language 'C' a code block starts with { and ends with }
I liked the N. Worth upgrade of Pascal to Modula II, not had the ocasion to look at his version of object programming in Oberon.
Can someone explain to me what these symbols do in the program? { }
Or tell me where to go to read about them...? can't find anything by just searching.
I'm just a newbie trying to teach myself to program in MQL4.