Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
23
Task/Variables/Eiffel/variables-1.e
Normal file
23
Task/Variables/Eiffel/variables-1.e
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
class
|
||||
APPLICATION
|
||||
inherit
|
||||
ARGUMENTS
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make
|
||||
-- Run application.
|
||||
local
|
||||
i: INTEGER
|
||||
s: STRING
|
||||
do
|
||||
i := 100
|
||||
s := "Some string"
|
||||
create a.make_empty
|
||||
end
|
||||
|
||||
feature {NONE} -- Class Features
|
||||
|
||||
a: ARRAY[INTEGER]
|
||||
3
Task/Variables/Eiffel/variables-2.e
Normal file
3
Task/Variables/Eiffel/variables-2.e
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- assume A and B are of the same datatype
|
||||
B := A
|
||||
A.some_modification_feature
|
||||
Loading…
Add table
Add a link
Reference in a new issue