andygospo
unread,Apr 21, 2013, 11:16:54 AM4/21/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to psu...@googlegroups.com
In the running example in Tutorial 5, on page 240-241, we add this to the feature declaration:
feature {display: list-item; list-style: square inside; font-size: 8pt}
Suppose, instead of using the square list type, I want to make this into a sequential/ordered (decimal) list.
So, I'd change this feature declaration to:
feature {display: list-item; list-style: decimal inside; font-size: 8pt}
But this just gives a list of 0's, ie:
0. sizes: (L) 16.5", (XL) 18.5", (XXL) 21"
0. frame: Prime Aluminum Comfort Specific
0. fork: Trek high tensile steel ATB
0. wheels: Matrix 550 rims
...
So, how would you a implement an sequential/ordered list from 1 to n?
Thanks,
Andy