Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
warning: [W180] Unreachable code problem?
#6
(09-10-2021, 06:17 PM)maeloterkim Wrote: Hi  if i compile this, says

warning: [W180] Unreachable code

but i don't know why


the version is  zxbasic-1.15.2





Code:
' EXAMPE UNRECHABLE CODE

declare sub mySub()

Dim myNumber As uByte
cls

myBucle:
    for myNumber = 0 to 7          
        mySub()                  
    next myNumber
    goto myBucle

sub mySub()

end sub

Ok, try this new beta version and tell me Shy  (download the one appropriate for you, which, I guess, will mostly be win32):

http://www.boriel.com/files/zxb/zxbasic-...a13.tar.gz
http://www.boriel.com/files/zxb/zxbasic-...beta13.zip
http://www.boriel.com/files/zxb/zxbasic-...-win32.zip
http://www.boriel.com/files/zxb/zxbasic-...x64.tar.gz
http://www.boriel.com/files/zxb/zxbasic-...cos.tar.gz
Reply


Messages In This Thread
RE: warning: [W180] Unreachable code problem? - by boriel - 09-24-2021, 09:27 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)