cannot cast void to non-void

If you ever see this error it means you're trying to output a function which doesn't return a value.

For me I was playing around with fileDelete() and without looking at the docs I assumed this would pass back a boolean to tell you if it was successful or not.

Posted: 10-Jun-2010

View: 3349

Permalink: here

Comments

Thanks Dude. Got this error and couldn't work out what I had done wrong!

#1 Sam Farmer
21/Apr/11 11:32 PM