Debug Window icons?

Blitz3D Forums/Blitz3D Beginners Area/Debug Window icons?

Drekinn(Posted 2004) [#1]
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,


TomToad(Posted 2004) [#2]
1) 2 ^ 3
2) FreeFont fonthandle


semar(Posted 2004) [#3]
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 ]


CS_TBL(Posted 2004) [#4]
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-)


Beaker(Posted 2004) [#5]
I think semar meant to say UPX to pack your exe a bit smaller. :)


Drekinn(Posted 2004) [#6]
Ah, thanks all for the answers. :) (Especially to no. 1)

Any elaboration on the debug window icons would be appreciated. :)


Drekinn(Posted 2004) [#7]
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?


BlitzSupport(Posted 2004) [#8]
It's automatic.


Drekinn(Posted 2004) [#9]
I thought as much. Thanks. :)