PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: AfxGetLocalePositiveSign  (Read 444 times)

James Fuller

  • Senior Member
  • ***
  • Posts: 309
  • FF3 User
AfxGetLocalePositiveSign
« on: December 19, 2020, 07:17:25 AM »

Josť,
  Is this the correct way to call AfxGetLocalePositiveSign?
I do not get "+"
compiled for 64bit console release using WinFBE

James

Code: [Select]
#define UNICODE
#INCLUDE ONCE "windows.bi"
#INCLUDE ONCE "Afx/AfxNls.inc"
USING Afx

DIM wszBuf AS WSTRING * 260
wszBuf = AfxGetLocalePositiveSign()

PRINT wszBuf
PRINT "Press any key..."
Sleep
Logged

Josť Roca

  • Moderator
  • Guru Member
  • *****
  • Posts: 3326
Re: AfxGetLocalePositiveSign
« Reply #1 on: December 19, 2020, 11:06:48 AM »

You don't get a "+" because in Occident if the data is blank/empty a "+" is assumed to be used.
« Last Edit: December 19, 2020, 11:09:08 AM by Josť Roca »
Logged