ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0008097 | Part 01: TTCN-3 Core Language | Clarification | public | 05-08-2022 07:16 | 04-01-2023 09:37

Reporter | Matthias Simon |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version |  | Fixed in Version |  |
Clause Reference(s) | 16.1.1 -- Invoking Functions
Source (company - Author) | Nokia - Matthias Simon

Summary | 0008097: Optional return values

Description

Restriction a of Section 16.1.1 Invoking Functions states:
> Functions that return values may be invoked directly [...]
Does this mean that the return value of a function may be omitted? Perhaps an example would help to clarify:
// Definition of f_myFunction which has no parameters
function f_myFunction() return integer
{
return 7; // returns the integer value 7 when the function terminates
}
// Example of omitting return value of f_myFunction (direct use)
f_myFunction()

Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files | CR8097.docx (80,286) 08-11-2022 11:00 http://oldforge.etsi.org/mantis/file_download.php?file_id=4071&type=bug

Issue History
Date Modified | Username | Field | Change
05-08-2022 07:16 | Matthias Simon | New Issue |
16-08-2022 13:17 | Jens Grabowski | Note Added: 0016223 |
16-08-2022 13:17 | Jens Grabowski | Assigned To | => Axel Rennoch
16-08-2022 13:17 | Jens Grabowski | Status | new => assigned
16-08-2022 13:18 | Jens Grabowski | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
08-11-2022 11:00 | Axel Rennoch | File Added: CR8097.docx |
08-11-2022 11:01 | Axel Rennoch | Note Added: 0016268 |
08-11-2022 11:01 | Axel Rennoch | Assigned To | Axel Rennoch => Matthias Simon
08-11-2022 11:01 | Axel Rennoch | Status | assigned => confirmed
08-11-2022 12:20 | Matthias Simon | Assigned To | Matthias Simon => Jens Grabowski
08-11-2022 12:20 | Matthias Simon | Status | confirmed => resolved
04-01-2023 09:37 | Jens Grabowski | Note Added: 0016454 |
04-01-2023 09:37 | Jens Grabowski | Status | resolved => closed
04-01-2023 09:37 | Jens Grabowski | Resolution | open => fixed

Notes

(0016223)
Jens Grabowski
16-08-2022 13:17

TTF discussion: It is allowed. To be checked if/where it is stated.

(0016268)
Axel Rennoch
08-11-2022 11:01

An example has been added for the optional direct invocation. Please check the proposed solutin in the attachment.

(0016454)
Jens Grabowski
04-01-2023 09:37

Implemented as proposed.