Opened 13 years ago
Closed 13 years ago
#458 closed defect (wontfix)
values of user variables get lost after end of scan
Reported by: | fbach | Owned by: | kilian |
---|---|---|---|
Priority: | P3 | Milestone: | v2.0.7 |
Component: | core | Version: | 2.0.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
When I initialize a user variable and iteratively change its value during a scan, the value assignment gets lost after the end of the scan (cf. foo.sin attached).
Attachments (1)
Change History (3)
Changed 13 years ago by
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is intended. User variable set inside braces are local and should not be remembered.
The reason is that scans should be executable in parallel, e.g., on a cluster. We had this design decision a while ago. I know about the lack of serial non-braced loops, this is part of the Sindarin revision that was too large to be implemented last fall.
Note: See
TracTickets for help on using
tickets.
Isn't this the same as #410 (Variable scoping in scan) ?