doc: sample: add simple function example script
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
func test-function($name) {
|
||||||
|
echo "Hello, $name!"
|
||||||
|
}
|
||||||
|
|
||||||
|
$x = "Jonh"
|
||||||
|
test-function $x
|
||||||
Reference in New Issue
Block a user