FLOAT PARAMETER

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Marcelo Guimarães

FLOAT PARAMETER

Post by Marcelo Guimarães » 08 Jun 2006, 15:06

 Posted by:  Marcelo Guimarães 

Hi,

Someone knows if happen any change in FLOAT PARAMETER between CENTURA1.5 and
GUPTA 2005.1.
Something like maximum length of number, cause i can't pass numbers larger
than 7 digits of precision.

Thanks,
Marcelo

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: FLOAT PARAMETER

Post by Jeff Luther » 08 Jun 2006, 16:40

 Posted by:  Jeff Luther 

"can't pass numbers" how and where? In SalSendMsg()? In a bind variable to the database?
If so, which one? To an external DLL function? Can you give us an example of what you mean?

Best Regards,
Jeff Luther/PC Design
info: www.pulpcards.com/gupta/

Marcelo Guimarães

Re: FLOAT PARAMETER

Post by Marcelo Guimarães » 08 Jun 2006, 17:08

 Posted by:  Marcelo Guimarães 

To an external DLL function, like this function in second parameter

!!CB!! 145
Function: __fcswSetNumberAttribute
Description: Call __fcswSetNumberAttribute(psAttribute,
nValue,bVisualChanged, nBsnObjRef,awhAssociatedObjects,
anBsnObjAttribInstanceInfo,nMensagemHabilitada,hWndItem,
_sObjectFullName)
Export Ordinal: 235
Returns
Boolean: BOOL
Parameters
String: LPSTR
Number: FLOAT
Boolean: BOOL
Number: LONG
Window Handle: HARRAY
Number: HARRAY
Window Handle: HWND
Receive String: LPHSTRING

Another problem is in SELECT CASE:
!!CB!! 174
Select Case df3
Case 77777777777
Call oTbtextinho.fChangeNumberAttribute( 'Ctexthcodi', df3 )
Break
Default
Call oTbtextinho.fChangeNumberAttribute( 'Ctexthcodi', df3 )
Break

with this number 77777777777 i can't compile the application. GUPTA 2005.1
PTF1

Thanks

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 1 guest