Jump to content

statement goto works in windows but not linux


 Share

Recommended Posts

it works on windows, but gives me an error in linux, something along the lines below. I took out the goto and ::conuntine:: label in linux version, and it worked, not sure what is going on with the linux version. Some of code below is parapasted, dont take it verbatim. Look more at the goto label code.

 

Thanks.

 

 

 

:27: '=' expected near 'countinue'

 

 

 

 

LUA CODE:

 

local stack = Stack:Create()

 

test = stack:pop()

goto countinue

end

...

..

 

::continue::

end

Link to comment
Share on other sites

  • 2 months later...

Did a goto test on Windows and it worked correctly. WIll test on Linux later.

b=1
goto done
b=2
::done::
print(b)

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...