Opened 11 years ago
Closed 11 years ago
#2644 closed defect (fixed)
Scripted for loop string concatenation not working
Reported by: | Per Östlund | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Interactive Environment | Version: | trunk |
Keywords: | Cc: |
Description
The following script:
i:=""; lst := {"Here ", "are ","some ","strings."}; s := ""; for i in lst loop s := s + i; end for; s;
gives the result
"" {"Here ","are ","some ","strings."} "" ""
s
becomes empty instead of containing the expected string.
Note:
See TracTickets
for help on using tickets.
Fixed in r20241.