←  Suggestions

ComputerCraft | Programmable Computers for Minecraft

»

Window API error checking

Engineer's Photo Engineer 06 Apr 2014

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
Quote

Kingdaro's Photo Kingdaro 06 Apr 2014

I definitely support this. Having to check the API for the error in your program is the worst.
Quote

theoriginalbit's Photo theoriginalbit 07 Apr 2014

*sigh* did Dan really miss a the Window API when I got him to add error levels into all the API...
Quote

apemanzilla's Photo apemanzilla 07 Apr 2014

I support this.
Quote