/[eiffelstudio]/trunk/eweasel/tests/exec230/test.e
ViewVC logotype

Contents of /trunk/eweasel/tests/exec230/test.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 103555 - (show annotations)
Mon Sep 30 12:49:53 2019 UTC (3 months, 4 weeks ago) by jfiat
File size: 291 byte(s)
Updated test code to use alias instead of infix/prefix.
1 class
2 TEST
3 create
4 make
5
6 feature -- Initialization
7
8 make is
9 do
10 io.put_double (Current^2)
11 io.put_new_line
12 io.put_double (Current^9)
13 io.put_new_line
14 io.put_double (Current^10.0)
15 io.put_new_line
16 end
17
18 power alias "^" (p: DOUBLE): DOUBLE is
19 do
20 Result := p
21 end
22 end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23