This shows you the differences between two versions of the page.
alf:teme:tema_en_2 [2021/03/29 08:29] alexandru.radovici [Statements] |
alf:teme:tema_en_2 [2022/03/24 17:13] (current) diana.ghindaoanu [Statements] |
||
---|---|---|---|
Line 50: | Line 50: | ||
POSITION: 200, 200 | POSITION: 200, 200 | ||
COMMAND_WITH_ERROR | COMMAND_WITH_ERROR | ||
- | LINE: position 300, 350 | + | LINE: 300, 350 location |
</code> | </code> | ||
Line 146: | Line 146: | ||
<code> | <code> | ||
LINE: x y position | LINE: x y position | ||
- | LINE: l a location | + | LINE: l a polar |
</code> | </code> | ||
Line 153: | Line 153: | ||
* //type// - is either //position// either //polar// | * //type// - is either //position// either //polar// | ||
- | * //x// - if //type// is //location//, the x coordinate of the new position | + | * //x// - if //type// is //position//, the x coordinate of the new position |
- | * //y// - if //type// is //location//, the y coordinate of the new position | + | * //y// - if //type// is //position//, the y coordinate of the new position |
* //l// - if //type// is //polar//, the length of the line | * //l// - if //type// is //polar//, the length of the line | ||
* //a// - if //type// is //polar//, the angle (from the trigonometric circle) in degrees | * //a// - if //type// is //polar//, the angle (from the trigonometric circle) in degrees | ||
Line 166: | Line 166: | ||
Wrong parameter type for type | Wrong parameter type for type | ||
- | ERROR LINE (line_number): LINE parameter 1 requires one of (position, polar), you wrote (actual_written_parameter_value) | + | ERROR LINE (line_number): LINE parameter 3 requires one of (position, polar), you wrote (actual_written_parameter_value) |
Wrong parameter type | Wrong parameter type | ||
Line 313: | Line 313: | ||
The file ends and there still is at least one LOOP without REPEAT | The file ends and there still is at least one LOOP without REPEAT | ||
- | You have number_of_repeats LOOP without REPEAT | + | ERROR LINE (line_number): LOOP with no REPEAT |
Line 339: | Line 339: | ||
The file ends and there still is at least one WHILE without REPEAT | The file ends and there still is at least one WHILE without REPEAT | ||
- | You have number_of_repeats WHILE without REPEAT | + | ERROR LINE (line_number): WHILE with no REPEAT |
=== REPEAT === | === REPEAT === |