311 B
311 B
Default arguments
TODO: ADD MORE
- pre-setting function arguments to protect against them not being passed by a caller. The example uses
direction = NORTHandx=0, y=0to ensure those values for aroboteven if they are not initially passed. robot-simulator