projects
/
testub10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gesamt: paramcheck und instr update
[testub10.git]
/
codea
/
snafu_04.0
diff --git
a/codea/snafu_04.0
b/codea/snafu_04.0
index 6cc265b300934e08dff6254f0e474401ad1f24ad..aeff3a00bc922729e8f66d926383310f5f6fc478 100644
(file)
--- a/
codea/snafu_04.0
+++ b/
codea/snafu_04.0
@@
-1,13
+1,15
@@
-struct foo bar beef end;
+method pvs1(a b)
+ return (this - a) * b;
+end;
-method
foobar(
)
- return
foo.beef
;
+method
pvs2(a b
)
+ return
this - (a * b)
;
end;
end;
-method
foobar2(
)
- return
this.bar
;
+method
pvs3(a b
)
+ return
(this * a) - b
;
end;
end;
-method
foobar3(
)
- return
(233 - 31).beef
;
+method
pvs4(a b
)
+ return
this * (a - b)
;
end;
end;