ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 30-04-2024 12:34 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0008223 | Part 01: TTCN-3 Core Language | Editorial | public | 28-03-2024 10:42 | 28-03-2024 11:23 | ||||||||
Reporter | Matthias Simon | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0008223: Invalid example | ||||||||||||
Description | EXAMPLE 3: // Iterate over partially initialized ranges // var integer e, i := 0; for (e in {1, -, -}) { i++; } log("final value:", e); // Output: // 0 // 1 // 2 //final value: - Output does not match expected behavior. Example should be: EXAMPLE 3: // Iterate over partially initialized ranges // var integer e, i := 0; for (e in {1, -, 3}) { log(i, e) i++; } log("final value:", e); // Output: // 0 1 // 1 UNINITIALIZED // 2 3 // final value: 3 //final value: - | ||||||||||||
Tags | No tags attached. | ||||||||||||
Clause Reference(s) | 19.4.2 -- The range based loop | ||||||||||||
Source (company - Author) | Nokia - Matthias Simon | ||||||||||||
Attached Files | |||||||||||||
Notes | |
(0016622) Matthias Simon (developer) 28-03-2024 11:23 |
Last line was left by accident `//final value: -` and should be removed. |
Issue History | |||
Date Modified | Username | Field | Change |
28-03-2024 10:42 | Matthias Simon | New Issue | |
28-03-2024 11:23 | Matthias Simon | Note Added: 0016622 |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |