Syntax of functions

Result = function(expression1, expression2,..,expressionn)

function:

  • the name of the function

expression1, expression2,..,expressionn are the arguments (i.e. inputs):

  • maps

  • expressions resulting in a map

Result is the return value (i.e. what is created):

  • one map (sometimes two)

Example, water flow over a local drain direction network (accuflux function):

RunoffMap = accuflux(LddMap,1000*RainMm)