SphereServer BugTracker - SphereServer
View Issue Details
0002043SphereServerexecutable - windows buildpublic28-09-11 18:3504-03-13 01:29
Shaklaban 
Ben 
normalminoralways
resolvedfixed 
20-09-2009, 0.56b Prerelease 
0.56c Nightly 
Automated (specify build number)
None
None
1496
0002043: for loops last loop executed two times
if the .scp file under 2 sub folder, for loops last condition executes for two times

[function for_test]
for 1 6
    sysmessage <eval <local._for>>
endfor

normal output:

1
2
3
4
5
6

if you use that script under 2 subfolder of scripts folder output is:

1
2
3
4
5
6
7
No tags attached.
Issue History
28-09-11 18:35ShaklabanNew Issue
28-09-11 18:36ShaklabanNote Added: 0001272
29-09-11 21:32babidiNote Added: 0001273
03-12-12 02:04BenNote Added: 0001442
03-12-12 02:04BenAssigned To => Ben
03-12-12 02:04BenStatusnew => confirmed
04-03-13 01:29BenNote Added: 0001494
04-03-13 01:29BenStatusconfirmed => resolved
04-03-13 01:29BenFixed in Version => 0.56c Nightly
04-03-13 01:29BenResolutionopen => fixed

Notes
(0001272)
Shaklaban   
28-09-11 18:36   
oops i can't edit my report, second output is:

1
2
3
4
5
6
6
(0001273)
babidi   
29-09-11 21:32   
i tryed in
scripts\aaa.scp
scripts\fold1\aaa.scp
scripts\fold1\fold2\aaa.scp

unable to replicate
(0001442)
Ben   
03-12-12 02:04   
Found the issue. It has nothing to do with nested folders.
You must have atleat 1 return(enter key) after the ENDFOR of the script and the problem is solved.
I'll see what I can do but this might just have to go in the "be carefull not to do" list :)
(0001494)
Ben   
04-03-13 01:29   
Fixed in build 1573