diff options
| author | Harald Demel <tuempl@gmail.com> | 2011-06-29 01:11:44 +0200 |
|---|---|---|
| committer | Harald Demel <tuempl@gmail.com> | 2011-06-29 01:11:44 +0200 |
| commit | 0a061daf3cf101f408bb913d541bbda7ca0c52ca (patch) | |
| tree | 60892cc1f926784f7f26a88b874232fee9dd7475 /eiffel-fragen/nachbedingung/application.e | |
| parent | fa080cdb57f7fed327b0f967545c389f0d87d9ca (diff) | |
| download | foop-0a061daf3cf101f408bb913d541bbda7ca0c52ca.tar.gz foop-0a061daf3cf101f408bb913d541bbda7ca0c52ca.tar.bz2 foop-0a061daf3cf101f408bb913d541bbda7ca0c52ca.zip | |
frage 3
Diffstat (limited to 'eiffel-fragen/nachbedingung/application.e')
| -rw-r--r-- | eiffel-fragen/nachbedingung/application.e | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/eiffel-fragen/nachbedingung/application.e b/eiffel-fragen/nachbedingung/application.e new file mode 100644 index 0000000..6babd0c --- /dev/null +++ b/eiffel-fragen/nachbedingung/application.e | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | indexing | ||
| 2 | description : "nachbedingung application root class" | ||
| 3 | date : "$Date: 2008-12-29 15:41:59 -0800 (Mon, 29 Dec 2008) $" | ||
| 4 | revision : "$Revision: 76432 $" | ||
| 5 | |||
| 6 | class | ||
| 7 | APPLICATION | ||
| 8 | |||
| 9 | inherit | ||
| 10 | ARGUMENTS | ||
| 11 | |||
| 12 | create | ||
| 13 | make | ||
| 14 | |||
| 15 | feature {NONE} -- Implementation | ||
| 16 | ct: COUNTER | ||
| 17 | ch: CHILD | ||
| 18 | |||
| 19 | feature {NONE} -- Initialization | ||
| 20 | |||
| 21 | make | ||
| 22 | -- Run application. | ||
| 23 | do | ||
| 24 | print ("nachbedingung%N") | ||
| 25 | |||
| 26 | create ct | ||
| 27 | ct.set(3) | ||
| 28 | print ("ct " + ct.get().out + "%N") | ||
| 29 | |||
| 30 | create ch | ||
| 31 | ch.set(-2) | ||
| 32 | print ("ch " + ch.get().out + "%N") | ||
| 33 | |||
| 34 | print ("done%N") | ||
| 35 | end | ||
| 36 | |||
| 37 | end | ||
