PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Empty CASE blocks in Generated Source  (Read 411 times)

Roger Garstang

  • Guest
Empty CASE blocks in Generated Source
« on: June 11, 2004, 04:30:05 AM »

I found something interesting today.  You'd think the compiler would see an empty CASE block in a SELECT CASE structure and not even compile it, but it does.  I was bored and deleted all the empty blocks in my source code that FF generates and it dropped my file size 512 bytes for one form, so 2 forms could be 1K and so on.

Maybe we need an option to have FF clean up the empty blocks or keep them if we want to use them as a model or something?