Hi, I have this code for many years which appears on a windows in my programs in order to indicate which build use a person who send me an email from my Program. And it is written in the subject, for exemple (version of my program, Build, version of Xojo) :
A propos de SyncTwoFolders 2.3.5b7 Mac INTEL - Cocoa 64-bit (2019r3.2)
My code is :
Dim TampText as String
#If TargetWindows Then ' Est aussi X86 (Intel)
TampText = "Windows"
#ElseIf TargetMacOS Then
#If TargetX86 Then
' #If TargetCocoa Then
TampText = "Mac INTEL" ' - Cocoa"
' #ElseIf TargetCarbon Then
' TampText = "Mac INTEL - Carbon"
' #Else
' TampText = "Mac INTEL - ???"
' #EndIf
' #ElseIf TargetPowerPC Then
' TampText = "Mac PPC"
#ElseIf TargetARM Then
TampText = "Mac ARM"
#Else
TampText = "???"
#EndIf
#Else
TampText = "???"
#EndIf
#If Target32Bit Then
TampText = TampText + " 32-bit"
#ElseIf Target64Bit Then
TampText = TampText + " 64-bit"
#Else
TampText = TampText + " ??-bit"
#EndIf
TampText = TampText + " (" + RBVersionString + ")"
' #If RBVersion < 2013 Then
' TampText = TampText + " (RS)."
' #Else
' TampText = TampText + " (Xojo)."
' #EndIf
Return TampText
But on this page docs xojo TargetARM itās not clear. I search for TargetARM but the results are 6 yers old.
I donāt have a Mac ARM and I canāt test but I will build my applications in ARM.
Can someone tell me if TargetARM will return the good result on a Desktop ARM Mac ?