• Welcome to PlanetSquires Forums.
 

AfxGetLocalePositiveSign

Started by James Fuller, December 19, 2020, 07:17:25 AM

Previous topic - Next topic

James Fuller

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

José Roca

#1
You don't get a "+" because in Occident if the data is blank/empty a "+" is assumed to be used.