Default input parameters for functions

You also need to specify the argument name:

GenerateAlphaBetaTree(MyBoard, ?Depth := 4)
2 Likes