I know you can limit what compiler your code can be compiled under via the #COMPILER metastatement.
But is there a way to detect what compiler someone is trying to compile your code under? That way parts of an INC or Example code would be ignored if the other persons compiler does not meet your requirements?
Like Class Code in PB9, that at compile time would know the user is trying to compile under PB8, so a conditional statement would ignore any of the class code that may be included???
But is there a way to detect what compiler someone is trying to compile your code under? That way parts of an INC or Example code would be ignored if the other persons compiler does not meet your requirements?
Like Class Code in PB9, that at compile time would know the user is trying to compile under PB8, so a conditional statement would ignore any of the class code that may be included???
Comment