mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Updated number of planets to 8 as pluto doesn't count anymore.
Author:manus Date:2013-08-07T13:04:30.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1229 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -88,7 +88,7 @@ The attributes studied earlier were variable: each represents a field present in
|
||||
|
||||
It is also possible to declare '''constant attributes''', as in
|
||||
<code>
|
||||
Solar_system_planet_count: INTEGER = 9
|
||||
Solar_system_planet_count: INTEGER = 8
|
||||
</code>
|
||||
|
||||
These will have the same value for every instance and hence do not need to occupy any space in objects at execution time. (In other approaches similar needs would be addressed by symbolic constants, as in Pascal or Ada, or macros, as in C.)
|
||||
|
||||
Reference in New Issue
Block a user