X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=codea%2Fsnafu_04.0;h=aeff3a00bc922729e8f66d926383310f5f6fc478;hb=211e4c6cc945ad6ecbeabbab5b0bcc332eba1e94;hp=6cc265b300934e08dff6254f0e474401ad1f24ad;hpb=7c2cde691b9eb061a0682a7971c63f2c42b39c2c;p=testub10.git diff --git a/codea/snafu_04.0 b/codea/snafu_04.0 index 6cc265b..aeff3a0 100644 --- 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; -method foobar2() - return this.bar; +method pvs3(a b) + return (this * a) - b; end; -method foobar3() - return (233 - 31).beef; +method pvs4(a b) + return this * (a - b); end;