#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
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 18 years ago by
bug_file_loc: | → http://www.tol-project.org |
---|
Note: See
TracTickets for help on using
tickets.
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)
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)
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.