PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: James Fuller on March 27, 2017, 03:31:05 PM

Title: AfxNls issue
Post by: James Fuller on March 27, 2017, 03:31:05 PM
Jose,
  No display for positive.

#Include "Afx/AfxNls.inc"
Function fbMain() As Long
? "Hello"
? AfxGetLocaleNegativeSign()
? AfxGetLocalePositiveSign()
sleep
Function = 0
End Function
End fbMain()
Title: Re: AfxNls issue
Post by: José Roca on March 27, 2017, 03:57:43 PM
We don't use a sign for positive numbers in the Western world. No sign in a number means positive; "-", negative.
Title: Re: AfxNls issue
Post by: James Fuller on March 27, 2017, 04:07:28 PM
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
Title: Re: AfxNls issue
Post by: José Roca on March 27, 2017, 04:17:02 PM
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.