• Welcome to PlanetSquires Forums.
 

AfxNls issue

Started by James Fuller, March 27, 2017, 03:01:05 PM

Previous topic - Next topic

James Fuller

Jose,
  No display for positive.

#Include "Afx/AfxNls.inc"
Function fbMain() As Long
? "Hello"
? AfxGetLocaleNegativeSign()
? AfxGetLocalePositiveSign()
sleep
Function = 0
End Function
End fbMain()

José Roca

We don't use a sign for positive numbers in the Western world. No sign in a number means positive; "-", negative.

James Fuller

Jose,

Ok. I was going by your comment for the function:
' ====================================================================================
' String value for the positive sign, for example, "+" for the English (United States)
' locale. The maximum number of characters allowed for this string is five, including a
' terminating null character.
' =====================================================================================

James

José Roca

It is a comment from the Microsoft documentation. Don't know if there was a local setting for it in older versions of Windows, but the current versions only show a setting for the negative sign.