Quote:(...) a handy trick if you need to write code that works on both PC and Mac: compiler switches. VB #If Mac Then ' Code here will be run only on Macs but ignored on PCs #Else ' Code here will be run on PCs but ignored on Macs #End If
#If Mac Then ' Code here will be run only on Macs but ignored on PCs #Else ' Code here will be run on PCs but ignored on Macs #End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)