Menu

Bracket bug ()

J Olson
2009-06-21
2013-05-30
  • J Olson

    J Olson - 2009-06-21

    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

     
    • Hugh Considine

      Hugh Considine - 2009-06-21

      That bug should have been fixed in the 17/6/2009 release, is that what you are using?

       
    • J Olson

      J Olson - 2009-06-22

      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.

       
    • Nobody/Anonymous

      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!

       
    • J Olson

      J Olson - 2009-07-30

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.