This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Engineer's profile picture

Window API error checking

Started by Engineer, 06 April 2014 - 06:46 PM
Engineer #1
Posted 06 April 2014 - 08:46 PM
Hello,

Lately I have been developing GUI's for CC. Im getting a lot of error like:
window:59: expected number

But, when I downgrade again, I get errors like:
<actual program>:<actual line number>: expected number

To fix this you can add some error checking in the window API so you dont get those vague error messages. This way the errors are more clear as opposed to an internal error in the window API.

- Thanks
Kingdaro #2
Posted 06 April 2014 - 09:11 PM
I definitely support this. Having to check the API for the error in your program is the worst.
theoriginalbit #3
Posted 07 April 2014 - 01:53 AM
*sigh* did Dan really miss a the Window API when I got him to add error levels into all the API…
apemanzilla #4
Posted 07 April 2014 - 04:49 PM
I support this.