close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 21 years ago

Closed 21 years ago

Last modified 18 years ago

#50 closed defect (fixed)

'PutTableDateFormat' 'PutTableRealFormat'

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: normal Milestone:
Component: Text Version: head
Severity: normal Keywords:
Cc:

Description

Alfredo Torres asked two questions about these funcions trought Usuarios-
tol@… at 18:31 of day 2004/05/20

What is the first length parameter for?
Both functions are not returning old format values.

Change History (2)

comment:1 Changed 21 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

The problem has been solved by polymorphism, to allow backward compatibilty:

Text PutTableDateFormat(Anything longitudOCadenaDeFormato [, Text format=""])
Descripción
Cambia el formato de números reales por defecto. Hay dos posibles usos para
garantizar la compatibilidad hacia atrás. (1.- Correcto) PutTableDateFormat(Text
formato)

(2.- Obsoleto) PutTableDateFormat(Real longitud, Text formato)

Devuelve la cadena de formato que se acaba de reemplazar.Mirar la función
FormatReal para saber más acerca de formatos de fecha.

Text PutTableRealFormat(Anything longitudOCadenaDeFormato [, Real
precision=0])
Descripcion
Cambia el formato de números reales por defecto. Hay dos posibles usos para
garantizar la compatibilidad hacia atrás. (1.- Correcto) PutTableRealFormat(Text
formato)

(2.- Obsoleto) PutTableRealFormat(Real longitud, Real precision)

Devuelve la cadena de formato que se acaba de reemplazar.Mirar la función
FormatReal para saber más acerca de formatos de números.

comment:2 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://www.tol-project.org
Note: See TracTickets for help on using tickets.