When using too many nested brackets in my code around if's and do loops I start to get variable not defines errors on compile.
Usually it's when I have more than one at the top level as shown below. The only work around I have found is to remove all of them.
Doesn't seems as bad (not as many errors) if I compile with the old nochipdata compiler.
If (temp = "something") then 'do something if (something = temp) then ' do something end if
Do until (temp > 10)
if (anything = temp) then ' do something end if
loop
end if
That bug should have been fixed in the 17/6/2009 release, is that what you are using?
If you released a new one just 4 days ago, then I missed it.
I see it now that you mentioned it on the updates page.
I'll look there from now on. If I find anything out of the ordinary and make sure I have the most current compile.
Thanks Hugh as always.
I'm having the same problem. Where do I find this 2009 release? The most recent version I can find in the files area is from 2007!
You need the update.zip or the update-nochipdata.zip. Extract it into your installed gcb folder. http://gcbasic.sourceforge.net/newfiles/update.zip
Log in to post a comment.
When using too many nested brackets in my code around if's and do loops I start to get variable not defines errors on compile.
Usually it's when I have more than one at the top level as shown below.
The only work around I have found is to remove all of them.
Doesn't seems as bad (not as many errors) if I compile with the old nochipdata compiler.
If (temp = "something") then
'do something
if (something = temp) then
' do something
end if
Do until (temp > 10)
if (anything = temp) then
' do something
end if
loop
end if
That bug should have been fixed in the 17/6/2009 release, is that what you are using?
If you released a new one just 4 days ago, then I missed it.
I see it now that you mentioned it on the updates page.
I'll look there from now on. If I find anything out of the ordinary and make sure I have the most current compile.
Thanks Hugh as always.
I'm having the same problem. Where do I find this 2009 release? The most recent version I can find in the files area is from 2007!
You need the update.zip or the update-nochipdata.zip. Extract it into your installed gcb folder.
http://gcbasic.sourceforge.net/newfiles/update.zip