fun
Function Definition:
# Using 'fun' to define a function
fun greet(name)
show("Hello, {name}!")
endExplanation:
Function Call:
# Calling the 'greet' function
greet("John")Explanation:
Returning Values:
Explanation:
Nested Functions:
Explanation:
Last updated