#define for constants
Posted: Mon Feb 20, 2006 4:08 pm
This is to maintain compability with windows resource .rc files. The problem now is PB constants syntax is not compatible with .rc syntax.
so
#define name value
would be an alternate way to define a constant in PB, note the constant name does not have #. i don't know if this would be a big mess for Fred but it would open all the resource possibilities because the .rc file and the pb source could share the same constants include. now resources are just too difficult to use because you need to maintain 2 constant files, one for .rc and another for .pb.
so
#define name value
would be an alternate way to define a constant in PB, note the constant name does not have #. i don't know if this would be a big mess for Fred but it would open all the resource possibilities because the .rc file and the pb source could share the same constants include. now resources are just too difficult to use because you need to maintain 2 constant files, one for .rc and another for .pb.