2020-12-30 01:43:00 +03:00
|
|
|
@Article@
|
|
|
|
|
|
|
|
/*
|
|
|
|
new scope A:
|
|
|
|
param x content set money
|
|
|
|
|
|
|
|
scope A:
|
|
|
|
def x := [$0; $4 +$ $5; $8 *$ 0.65]
|
|
|
|
|
|
|
|
new scope B:
|
|
|
|
param a scope A
|
2021-01-06 14:41:24 +03:00
|
|
|
param max content money
|
|
|
|
param min content money
|
2020-12-30 01:43:00 +03:00
|
|
|
param y content money
|
|
|
|
param z content int
|
|
|
|
|
|
|
|
scope B:
|
2021-01-06 14:41:24 +03:00
|
|
|
def max := maximum money init $0 for m in a.x of m *$ 2.0
|
|
|
|
def min := minimum money init $20 for m in a.x of m +$ $5
|
2020-12-30 01:43:00 +03:00
|
|
|
def y := sum money for m in a.x of (m +$ $1)
|
|
|
|
def z := number for m in a.x of (m >=$ $8.95)
|
2021-01-06 14:41:24 +03:00
|
|
|
*/
|