Hi,

You can either add [] to the attribute name or to the data type.  If you
want the code to look like what you have stated
        String listOfStudents[20];
then in Rose it should be
        listOfStudents[20]:String

Regards,
Bama Ramesh
Software Engineering Specialist
Rational, the e-development company

No. 40, 100 Feet Road, 4th Block
Koramangala, Bangalore - 560 034.

Phone: +91-80-553 8082/9864 extn. 155
Mobile: +91-98451 87824
Fax:     +91-80-553 8293


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 9:38 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) how to describe an array as member in rose



hi,

is there a way to describe an attribute (data member) of a class 
as an array in rose in the specification section of the class on 
the attribute page?

e.g. the code may look like this subsequently:

Class Course
{
        String listOfStudents[20];
        ...
};

TIA,
-Piyush

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to