Re: [fpc-pascal] Resource compilation

2017-09-25 Thread Graeme Geldenhuys
On 2017-09-24 20:52, Martok wrote: If so, I wouldn't worry too much about having our own resource compiler. The RC script language is actually quite complex, and there'd be next to no benefit to reinventing the wheel. The same could be said about implementing a competing (alternatives to C/C++

Re: [fpc-pascal] Syntax to select constant or variable with function call

2017-09-25 Thread Sven Barth via fpc-pascal
Am 25.09.2017 08:13 schrieb : > I have 2 arrays that are not [0..255], one is [1..14] the other is [0..15] is there a way I could expand this scheme to use those arrays as well? The For loop would need to adjust to the size of the arrays somehow. See what I wrote yesterday :) Regards, Sven ___

Re: [fpc-pascal] Resource compilation

2017-09-25 Thread Sven Barth via fpc-pascal
Am 25.09.2017 08:11 schrieb "Martok" : > > > Also note that that is only true for Windows. FPC doesn't include a > > resource compiler for any other platforms. So if no resource compiler > > exists, you will get a compilation error until you make other plans. > AFAIK, windres is available for lots

Re: [fpc-pascal] Syntax to select constant or variable with function call

2017-09-25 Thread James Richters
> See what I wrote yesterday :) Sorry I had a duplicate message, I was having difficulty with my email and accidentally sent a mail with an alias, I thought it was rejected but it was just delayed. Here is what I have now, and it's working great, thanks for the help. Function Find_Color(ColorA

Re: [fpc-pascal] Syntax to select constant or variable with function call

2017-09-25 Thread Michael Van Canneyt
On Mon, 25 Sep 2017, James Richters wrote: See what I wrote yesterday :) Sorry I had a duplicate message, I was having difficulty with my email and accidentally sent a mail with an alias, I thought it was rejected but it was just delayed. Here is what I have now, and it's working great,

Re: [fpc-pascal] Resource compilation

2017-09-25 Thread Martok
Am 25.09.2017 um 09:12 schrieb Graeme Geldenhuys: > The same could be said about implementing a competing (alternatives to > C/C++ or Delphi) compiler. ;-) Not really though ;-) Rewriting a resource compiler with the same input and output files as the existing one is a bit different than writing a