#85 closed defect (invalid)
Sample code is not working
Reported by: | fmunoz | Owned by: | josp |
---|---|---|---|
Priority: | major | Milestone: | Documentation and Samples 0.5 |
Component: | General | Keywords: | sample |
Cc: |
Description
The samples in MMS seems to be broken.
Are they using old class syntax?
ERROR: [13] Argumento model fuera de lugar. Símbolo fuera de lugar. en el carácter 15, línea 21: Línea de código 12 : 13 : Real MMS::CreateModel( 14 : [[ 15 : Text _.type = "ARIMAX"; 16 : Text _.name = "Mat.Veh"; 17 : Text _.description = "Modelo de matriculación de vehículos" 18 : ]] 19 : ); 20 : 21 > MMS.Model model = MMS::GetModel("Mat.Veh","1.0"); ^ 22 : 23 : ////////////////////////////////////////////////////////////////////////////// 24 : // Outputs 25 : ////////////////////////////////////////////////////////////////////////////// 26 : 27 : Set EvalSet(SetTipVeh, Real (Set reg) { 28 : Real model::CreateOutputARIMA( 29 : [[ 30 : Text _.name = reg[1]; 31 :
Change History (2)
comment:1 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Milestone: | → Documentation & Samples 0.5 |
---|
Note: See
TracTickets for help on using
tickets.