S
Sam C.
I am making a program with various commands. One of them is "Exit" which
is supposed to exit the program. Here is my code:
if uinput = "EXIT" then
end
end
The problem is that the ruby compiler thinks that the first "end" is the
end to the If-Then statement, instead of the "end" that ends the
program. How do I work around this?
is supposed to exit the program. Here is my code:
if uinput = "EXIT" then
end
end
The problem is that the ruby compiler thinks that the first "end" is the
end to the If-Then statement, instead of the "end" that ends the
program. How do I work around this?