RosettaCodeData/Task/Call-a-function/SenseTalk/call-a-function-1.sensetalk

10 lines
243 B
Plaintext

put zeroArgsFn()
// Function calls can also be made using the following syntax:
put the zeroArgsFn
function zeroArgsFn
put "This function was run with zero arguments."
return "Return value from zero argument function"
end zeroArgsFn