Miniwood and constants

Discuss any general programming issues here
Post Reply
amyren
Posts: 418
Joined: Thu May 02, 2019 11:53 am

Miniwood and constants

Post by amyren »

I just installed HW11 and wanted to test the new Miniwood feature.
Then I notice that constants are not defined in Miniwood. I guess I could define ocnstants like colors using the Const command, but I am not sure how to define others like, #SANS, #SERIF, #BORDER, #FILLCOLOR, #NORMAL, #IMGFMT_ILBM, #IMGFMT_JPEG, #IMGFMT_PNG, #IMGFMT_BMP, #POINTER, #STDPTR_SYSTEM, #BRUSH, #ATTRWIDTH, #NOCOLOR ... and a bunch of others I have in that script.
plouf
Posts: 675
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Miniwood and constants

Post by plouf »

Have you use @USING "library"

Using library adds funtions AND constants
Which functions are these contants for?
Christos
amyren
Posts: 418
Joined: Thu May 02, 2019 11:53 am

Re: Miniwood and constants

Post by amyren »

plouf wrote: Thu Jan 15, 2026 6:33 pm Have you use @USING "library"

Using library adds funtions AND constants
Which functions are these contants for?
Thanks for pointing me in the right direction. I was not sure where to start but I got it to work now after adding the required libraries.

Another Miniwood related question, I tried to reduce the executable filesize additionally by setting the Compress tag.
But the file output file size is the same. Is this the correct syntax?

Code: Select all

@OPTIONS {Compress = True}
Post Reply