duckscript/examples/functions.ds

13 lines
219 B
Plaintext
Raw Normal View History

2019-12-30 10:45:28 +00:00
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