PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: AfxNls issue  (Read 364 times)

James Fuller

  • FireFly3 Registered User
  • Senior FireFly Member
  • *
  • Posts: 272
  • FF3 User
AfxNls issue
« on: March 27, 2017, 03:01:05 PM »

Josť,
  No display for positive.
Code: [Select]
#Include "Afx/AfxNls.inc"
Function fbMain() As Long
? "Hello"
? AfxGetLocaleNegativeSign()
? AfxGetLocalePositiveSign()
sleep
Function = 0
End Function
End fbMain()
Logged

Josť Roca

  • Moderator
  • Master FireFly Member
  • *****
  • Posts: 2732
    • Josť Roca Software
Re: AfxNls issue
« Reply #1 on: March 27, 2017, 03:27:43 PM »

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

James Fuller

  • FireFly3 Registered User
  • Senior FireFly Member
  • *
  • Posts: 272
  • FF3 User
Re: AfxNls issue
« Reply #2 on: March 27, 2017, 03:37:28 PM »

Josť,

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
Logged

Josť Roca

  • Moderator
  • Master FireFly Member
  • *****
  • Posts: 2732
    • Josť Roca Software
Re: AfxNls issue
« Reply #3 on: March 27, 2017, 03:47: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.