PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: James Fuller on December 19, 2020, 07:47:25 AM

Title: AfxGetLocalePositiveSign
Post by: James Fuller on December 19, 2020, 07:47:25 AM
José,
  Is this the correct way to call AfxGetLocalePositiveSign?
I do not get "+"
compiled for 64bit console release using WinFBE

James


#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
Title: Re: AfxGetLocalePositiveSign
Post by: José Roca on December 19, 2020, 11:36:48 AM
You don't get a "+" because in Occident if the data is blank/empty a "+" is assumed to be used.