Sanny Builder Bug Tracker - Sanny Builder
View Issue Details
0000028Sanny Builder[All Projects] compilerpublic2014-07-03 07:522014-07-05 17:43
Junior_Djjr 
Seemann 
highminoralways
resolvedfixed 
3.2.1 
3.2.2 
0000028: the use of for-to make var-end don't work
someone probably already noticed / reported that, anyway I think it's great this bug be fixed because it frequently disrupts


//------- ERROR:
{$cleo}
var
1@ : float
2@ : float
end

for 1@ = 0.0 to 10.0 step 1.0
end

2@ = 1@ //error here
////////////


//------- WORKS:
{$cleo}
var
1@ : float
2@ : float
end

for 3@ = 0.0 to 10.0 step 1.0
end

2@ = 1@
////////////


//------- WORKS:
{$cleo}
var
1@ : float
2@ : float
end

2@ = 1@
////////////
            
            
              
//------- WORKS:
{$cleo}
for 3@ = 0.0 to 10.0 step 1.0
end

var
1@ : float
2@ : float
end

2@ = 1@
////////////


----------
btw: the use of a const in for-to don't works too
btw²: language "Português (Brasil)" with flag of "Portugal" instead Brazil :P lol
No tags attached.
jpg gta-sa-mod-8 - Cópia.jpg (39,803) 2014-07-03 07:52
http://bugs.sannybuilder.com/file_download.php?file_id=12&type=bug
jpg
Issue History
2014-07-03 07:52Junior_DjjrNew Issue
2014-07-03 07:52Junior_DjjrStatusnew => assigned
2014-07-03 07:52Junior_DjjrAssigned To => Seemann
2014-07-03 07:52Junior_DjjrFile Added: gta-sa-mod-8 - Cópia.jpg
2014-07-05 14:36SeemannStatusassigned => confirmed
2014-07-05 17:43SeemannStatusconfirmed => resolved
2014-07-05 17:43SeemannFixed in Version => 3.2.2
2014-07-05 17:43SeemannResolutionopen => fixed

There are no notes attached to this issue.