For example see code fragment, which build syntax tree for function. On C language it can be written as:
On Context language:
In both fragments the assignment operators of value and address in lines 3 and 4 are written consciously with different indents. Other forms of writing of this actions also possible. What form of pointer definition and address assignment (lines 1 and 4) is presented for You as most comprehensible:
Here Dict - array of struct, field pNode - word, @ - prefix, ^ - postfix address calculation operator.
Other allowes answers
Results:
Choice | Count | % |
A | 56 | 48% |
B | 20 | 17% |
C | 9 | 8% |
D | 11 | 9% |
E | 13 | 11% |
F | 8 | 7% |
Total: | 117 | 100% |
Since 02.12.2002 to 31.12.2004 about 1.5 percent of visitors are answers to this question.
In some programming languages ( C/C++/... ) operator brackets ( {..} / begin...end ) are used. To place more than one operator into control structure ( if / while / ... ) Yuo must use brackets. In other languages ( Modula/Basic/... ) any number of operators may be placed into control structure without brackets. In Pascal both variants are used ( while vs repeat/until ). If no brackets defined special keywords are used to close control structure ( end / endif / enddo / ... ). For example
What form of control structures is presented for You as most suitable:
Other allowes answers
Results:
Choice | Count | % |
A | 51 | 59% |
B | 15 | 17 |
C | 7 | 8% |
D | 10 | 11% |
E | 4 | 5% |
F | 0 | 0% |
Total: | 87 | 100% |
Since 03.03.2003 to 31.12.2004.