assistance-engine/docs/developer.avapframework.com/chapter14_3.md

485 B

Technical Features

  • Parameters : Functions can accept zero or more parameters that are used as inputs to the function.
  • Return Values : Functions can return a value using the return keyword.
  • Scope : Functions in AVAP™ have their own scope, meaning that variables defined within a function are only visible within that function unless declared as global variables.
  • Code Reusability : Functions allow for encapsulating and reusing blocks of code that perform specific tasks.