Terrail Posted April 15, 2016 Share Posted April 15, 2016 It keeps telling me "'end' expected (to close 'function' at line 39) near <eof> I have no idea what I'm doing wrong. Link to comment Share on other sites More sharing options...
DarkXero Posted April 15, 2016 Share Posted April 15, 2016 function(arg1, arg2) arg1 = arg1 + 1 arg2 = arg2 + arg1 end Functions need an "end" in their structure. There should be an "end" for every function, while, for, and if. You messed up the code syntax. Post your code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now