We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function
Add new function syntax for even more fun in this console function <func_name>([vars]){ <commands> [return [value];] }
function <func_name>([vars]){ <commands> [return [value];] }
Which can be called at runtime by <func_name>([vars])
<func_name>([vars])
Which may return value like so echo <func_name>([vars])
echo <func_name>([vars])
The implementation should allow this example command:
function return_empty_function() { echo "return empty func called"; return; } function return_value_func() { echo "return value func called"; return "a value"; } function print_var_func(var1) { echo var1; return; } return_empty_function(); print_var_func(return_value_func());
Which results in:
return empty func called return value func called a value
The text was updated successfully, but these errors were encountered:
DerpyNewbie
No branches or pull requests
Add new function syntax for even more fun in this console
function <func_name>([vars]){ <commands> [return [value];] }
Which can be called at runtime by
<func_name>([vars])
Which may return value like so
echo <func_name>([vars])
The implementation should allow this example command:
Which results in:
The text was updated successfully, but these errors were encountered: