blob: 6ae248ed6fe8d22d34e9c5e89bf78c6e8718fefb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
def expr_def = 4
def fun_expr_def (x) = x + 5
def test_def (n):
shell as p on n:
echo $expr_def
expect from p:
/4/
def fun_test_def (n) first x:
shell as p on n:
echo ${expr_def + x}
expect from p:
/${4 + x}/
test Test:
node n
test_def (n)
fun_test_def (n) first 7
|