Page 1 of 1

#AMIGAICON_TOOL

Posted: Wed Oct 15, 2014 1:47 pm
by ilbarbax
Hi

I developed my program under different Amiga systems using #AMIGAICON_TOOL in conjunction with SetIconProperties and obviously it works fine. Moving under Windows the constant is not recognized and stop the compiling, then to compile the program I have to comment the line. Does not matter if I check first which is the system in use in order to use or not use the SetIconProperties command.
I think that in the non Amiga system the constant should be anyway recognized by the compiler and at the maximum ignored, but leaving the possibility to port the code as it is.

regards

Re: #AMIGAICON_TOOL

Posted: Sat Oct 18, 2014 11:09 pm
by airsoftsoftwair
Hmm, you do have a point there... currently, constants for platform-dependent features are only defined on the corresponding platform. However, as you've described, this can impede cross-platform development because scripts don't compile any longer. I'll make up my mind about whether or not we need a change here...

Re: #AMIGAICON_TOOL

Posted: Sat Dec 27, 2014 2:09 pm
by airsoftsoftwair
Ok, changed this.