Alright, so today I though I might as well start on working a project.. and I though why not my Custon BMP Font loader that I had started long ago. That would be able to load custon BMP fonts with individual letter width (Revolutionary! )
But obviously, I need to transform the ASCII letter number to the BMP font char number... So I though I'd use a switch case. But I stumbled upon a problem and I can't figure out what is going wrong.. D:
My script is around 288 lines long, because there are at least 90 letters to convert
And the syntax is correct on all lines (Yes, I checked them all).
and it gives me 90 errors!
each one coming out as "Warning line 288: Unreachable code at line ###" ### being the line number which a "break;" can be found
So I noticed that each "Unreachable" code are "break;"... what is wrong?
I'm thinking it might be due to the usage of "return ##"... but I used that before
ps.: Makslane, it would be smart adding "*.txt","*.c" and "*.cpp" extension