Blitz (32/193)

From:Curt Esser
Date:6 Aug 2000 at 04:33:59
Subject:Re: StatsFuncs

Hi,
----- Original Message -----
From: <KristianGK@aol.com>

> I tried the StatsFuncs code on the Aminet (James L Boyd) and I agree that
it
> is good :)
>
> But..... I replaced all the SMouseX, SMouseY, ScreenHeight and ScreenWidth
> with the alternatives. I like the control over the functions, but it
didn't
> make the exe size smaller. In fact it went up from 29k to 30k. What am I
> doing wrong??

Nothing - the way it works is this:

In order to eleminate a blitz library from being included in your exec
(thereby shrinking the file size) you must eleminate EVERY command that is
contained in that library.

Since you apparently didn't do that, you still have the entire Blitz library
included, plus the additional code to call the OS functions.

I don't recall at the moment, but I think the above commands are all in the
Screen library, so to eliminate it you would have to change all the screen
commands to OS ones.

If you are trying to reduce your exec size, have a look at my Investigator
program, on my website in the Blitz section.

It can examine your source and tell you which Blitz libraries were used, and
(fairly accurately) how many times each command was used.

It will help you decide which libraries you can easily eliminate and which
ones were used so much that it would be pointless...

Later.....
Curt Esser

camge@amigaonline.net
http://members.tripod.com/~DoctorPix/ (Pictures)
http://members.xoom.com/Curt_Esser/ (Amiga stuff)

Bad artists copy. Great artists steal.- Picasso

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie