Debug Window icons?
Blitz3D Forums/Blitz3D Beginners Area/Debug Window icons?
| ||
Questions galore: 1) Is there a math command that performs a "to the power of" function? Eg. 2 to the power of 3 = 8. 2) After having loaded and set a specific font as the current font (using SetFont), is there a way to revert back to the default Blitz font? 3) What do all the icons on the Debug Window do? 4) I created an executable from a 12Kb .bb file and the result was a 1.2MB file. I've seen executables of considerably smaller size. How do I make my .exe file smaller? Any assistance would be appreciated. Thanks, |
| ||
1) 2 ^ 3 2) FreeFont fonthandle |
| ||
1) 2^3 2) freefont yourfont 3) step statement in, step statement out,... try it and look by yourself. You have to use a Stop command to fire the debugger, and your IDE should be in "debug enabled" mode 4) use an exe packer, fo example UPS. [EDIT: UPX ] |
| ||
4) I include my own stuff (an include file) .. that also seems to make bigger executables.. (perhaps you could skip unused functions? -dunno if this true tho, but I think it is-) |
| ||
I think semar meant to say UPX to pack your exe a bit smaller. :) |
| ||
Ah, thanks all for the answers. :) (Especially to no. 1) Any elaboration on the debug window icons would be appreciated. :) |
| ||
On a further note: 5) Is it necessary to free all media from memory upon ending a program (using FreeFont, FreeImage etc), or is this process performed automatically? |
| ||
It's automatic. |
| ||
I thought as much. Thanks. :) |