close
Warning:
Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
May 17, 2011, 2:30:49 PM (14 years ago)
- Author:
-
Pedro Gea
- Comment:
-
El comportamiento que indicas es consecuencia de que el argumento _.data se está ignorando. El argumento implementado para incluir los datos es Set _.data..
Si hacemos la llamada así:
NameBlock aux = DataSet.Ejemplo::CreateVariable([[
Text _.name = "Aux";
Text _.description = "Prueba";
Text _.type = "Serie";
Set _.data. = [[ Serie SubSer(CalInd(WD(5), Diario), y2009, y2010) ]]
]]);
no encontrarás esos problemas.
Haciéndolo así, el argumento _.type es opcional y el argumento _.expression es secundario y solo se usará al hacer un UpdateData.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
accepted
-
Property
Milestone
changed from
to
Release 0.6
-
|
initial
|
v2
|
|
| 14 | 14 | ]]); |
| 15 | 15 | Serie auxData = aux::GetData(?); |
| 16 | | |
| | 16 | }}} |
| | 17 | {{{ |
| 17 | 18 | Warning: [37] La función Eval ha fallado en : |
| 18 | 19 | Eval(expression3) |
| … |
… |
|
| 30 | 31 | }}} |
| 31 | 32 | |
| 32 | | Por cierto, al intentar crear la variable con el atributo _.data y sin el ._type da error: ¿no podría deducir el tipo de datos a partir de la gramática de éstos, al igual que hace cuando se crea la variable con _.expression? |
| | 33 | Por cierto, al intentar crear la variable con el atributo _.data y sin el _.type da error: ¿no podría deducir el tipo de datos a partir de la gramática de éstos, al igual que hace cuando se crea la variable con _.expression? |
| 33 | 34 | |
| 34 | 35 | Gracias. |