Constant dynamic 64 bits

I have a Constant (string) in my App that should be different in 32 bits and 64 bits.
I don’t know how to do it.
I will appreciate any hint about it. (Dynamic?)

Use a function:

Function MyConstant() As String #If Target32Bit Return "abc32" #Else Return "abc64" #End End

wouldn’t this work (off top my head)

#If Target32Bit
  const MyConstant="abc32"
#Else
 const MyConstant="abc64"
#End

Thank You.
I had forgotten this!

[quote=253048:@Dave S]wouldn’t this work (off top my head)

#If Target32Bit const MyConstant="abc32" #Else const MyConstant="abc64" #End [/quote]

Yes, it works,but only for local Constants (in a method). I was thinking of a global Constant.

Function.

Personally I would use COMPUTED PROPERTY instead of FUNCTION

bummer that CONST is only local

A constant in a module can be global

Whats NOT present in any of the settings for a const is “32 bit 64 bit”

A global read only computed property would work just as well
Its “constant” (ie not changeable) & syntactically you really cant tell its NOT a const

Thanks for all those suggestions.