duckscript/examples/functions.ds
Sagie Gur-Ari 6249efda49
0.1.0 (#1)
initial
2019-12-30 12:45:28 +02:00

13 lines
219 B
Plaintext

function print_first_and_second_argument
echo ${1} ${2}
return printed
end_function
function run_flow
status = print_first_and_second_argument hello world
echo The printout status is: ${status}
end_function
run_flow