Code Cleanup:
The aim of the game is quite simple, as are the rules. This game is intended for fun and as a way to learn about error handling. This is not a place to post code that you are stumped on, that is why there is an Ask A Pro section. I hope you all learn something new from this and have fun too!
Your Objective!
- Post a functioncal replica of the code/script from the person before you, also state what the error was
- Post a max of 15 lines of code that will error (Not all lines have to error)
What are the rules?
- Follow forum guidelines as always
- Do not post malicious code
- Do not post code that does not error -- you will be skipped
- Do not post code that someone has already posted -- you will be skipped
- If any script is longer than 15 lines -- you will be skipped
- If any code is not in code format -- you will be skipped
- Indent your code
- If a script posted is not in Lua format -- you will be skipped
If the previous user's code does not fall under the above criteria then find a nice/constructive way to terminate it!
Os.reboot()
SuicidalSTDz
Corrected:
os.reboot()Lua is case sensitive, Os.reboot() should be os.reboot()
line = read() local c = string.Len(line) print(C)
Edited by SuicidalSTDz, 28 July 2014 - 01:28 AM.