Spatial static model: representation in PCRaster (2)

The function f in:

z(1..m)=f(i(1..n), p(1..l))

is represented by a set of pcrcalc functions in a static (or cartographic) modelling script:

pcrcalc statement; 
pcrcalc statement; 
... 
... 

operations are performed from top to bottom:

# this is a cartographic modelling script file
Friction = lookupscalar(friction.tbl,LandUse);
Friction = 2.5 * Friction;
CostDist = spread(Start,0,Friction);