Ultrasonic Range Finder

Can someone explain what the first line of code here means?

robotType(recbot); //Specifies the robot type
rs(127); // Move forward at speed 63.
untilSonarLessThan(20, dgtl1);
stop(); // Stop.

Below are snaps of the code and the errors I have received.

none of the code posted is valid ROBOTC code (unless the functions are defined elsewhere). A “recbot” is one of the ROBOTC standard robot types, you can select that in the motors&sensors setup as a shorthand way of configuring all the motors and sensors for that particular robot. Usually code configured to use the recbot would be in the following form.

#pragma config(StandardModel, "RECBOT")
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

task main()
  // user code here