Opened 15 years ago

Last modified 14 years ago

#117 reopened defect

Cannot specify an array index for an outer parameter

Reported by: Rodolfo Rodrigues Owned by: Rafael de Pelegrini Soares
Priority: major Milestone:
Component: EMSO Version:
Keywords: Cc:

Description

In the sample.mso I cannot work with specific values of outer array parameters in several Models. EMSO returns the error message: cannot specify an array index for the outer parameter device1

Otherwise I will need to define the same parameter in each Model.

Attachments (1)

sample.mso (455 bytes) - added by Rafael de Pelegrini Soares 15 years ago.
Example file for outer array parameters

Download all attachments as: .zip

Change History (4)

comment:1 Changed 15 years ago by Rafael de Pelegrini Soares

Resolution: fixed
Status: newclosed

Hi,

This bug was fixed on trunk code, now you can use outer for parameters or variables which are arrays.

But you don't need to declare the dimensions of outer parameters. The dimensions are defined on the outer context as exemplified on the attached file.

Changed 15 years ago by Rafael de Pelegrini Soares

Attachment: sample.mso added

Example file for outer array parameters

comment:2 Changed 14 years ago by Rodolfo Rodrigues

Resolution: fixed
Status: closedreopened
Version: 0.9.53

The bug comes back in version 0.9.56.

comment:3 Changed 14 years ago by Rafael de Pelegrini Soares

Hi Rodolfo,

That's right, I'had to revert this fix because of some side effects.

Note: See TracTickets for help on using tickets.