whizard is hosted by Hepforge, IPPP Durham

Opened 12 years ago

Closed 12 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)

foo.sin (139 bytes) - added by fbach 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by fbach

Attachment: foo.sin added

comment:1 Changed 12 years ago by sschmidt

Isn't this the same as #410 (Variable scoping in scan) ?

comment:2 Changed 12 years ago by kilian

Resolution: wontfix
Status: newclosed

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.