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
#AMIGAICON_TOOL
- airsoftsoftwair
- Posts: 5644
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: #AMIGAICON_TOOL
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...
- airsoftsoftwair
- Posts: 5644
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: #AMIGAICON_TOOL
Ok, changed this.