RobotC/Automomous problem

I have looked and looked and cannot figure out what I am doing wrong.

Below is my code, and below it I will paste the error codes. Probably something simple I am overlooking.

Thanks in advance!

#pragma config(Motor, port2, rightMotor, tmotorServoContinuousRotation, openLoop, reversed)
#pragma config(Motor, port3, leftMotor, tmotorServoContinuousRotation, openLoop)
#pragma config(Motor, port4, intakeMotor, tmotorServoContinuousRotation, openLoop)
#pragma config(Motor, port5, armMotor, tmotorServoContinuousRotation, openLoop)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//

#pragma platform(VEX)

//Competition Control and Duration Settings
#pragma competitionControl(Competition)
#pragma autonomousDuration(15)
#pragma userControlDuration(90)

#include “Vex_Competition_Includes.c” //Main competition background code…do not modify!

/////////////////////////////////////////////////////////////////////////////////////////
//
// Pre-Autonomous Functions
//
// You may want to perform some actions before the competition starts. Do them in the
// following function.
//
/////////////////////////////////////////////////////////////////////////////////////////

void pre_auton()
{
// Set bStopTasksBetweenModes to false if you want to keep user created tasks running between
// Autonomous and Tele-Op modes. You will need to manage all user created tasks if set to false.
bStopTasksBetweenModes = true;

// All activities that occur before the competition starts
// Example: clearing encoders, setting servo positions, ...

}

/////////////////////////////////////////////////////////////////////////////////////////
//
// Autonomous Task
//
// This task is used to control your robot during the autonomous phase of a VEX Competition.
// You must modify the code to add your own robot specific commands here.
//
/////////////////////////////////////////////////////////////////////////////////////////

task autonomous()

{
StartTask(autonomous);
startMotor(leftMotor, 100);
startMotor(rightMotor, 100);
wait(1.5);
stopMotor(leftMotor);
stopMotor(rightMotor);

}

Error:Undefined procedure ‘startMotor’.
Error:Too many parameters specified. Call to ‘startMotor’. Parameter: ‘N/A’ is ‘leftMotor’ of type ‘tMotor’.
Error:Too many parameters specified. Call to ‘startMotor’. Parameter: ‘N/A’ is ‘rightMotor’ of type ‘tMotor’.
Error:Undefined procedure ‘wait’.
Error:Too many parameters specified. Call to ‘wait’. Parameter: ‘N/A’ is ‘1.5’ of type ‘float’.
Error:Undefined procedure ‘stopMotor’.
Error:Too many parameters specified. Call to ‘stopMotor’. Parameter: ‘N/A’ is ‘leftMotor’ of type ‘tMotor’.
Error:Too many parameters specified. Call to ‘stopMotor’. Parameter: ‘N/A’ is ‘rightMotor’ of type ‘tMotor’.

EDIT:

Ok, I see, you are using natural language extensions. Change the platform type to natural language (VEX cortex). Sorry, very few people are using this and asking questions so it went completely over my head

Original answer…

A bunch of stuff.

There is no need to call StartTask(autonomous) in the autonomous task
What is startMotor ?
What is stopMotor ?
What is wait ?
Are these external functions. Your code should probably be

task autonomous()
{
motor leftMotor] = 100;
motor rightMotor ] = 100;
wait1Msec(1500); // 1.5 second wait
motor leftMotor] = 0;
motor rightMotor ] = 0;
}

Thank you so much! It was simple, I had written the code previously on another computer that I had set the platform to natural language. That computer was damaged at our last competition so I loaded RobotC on another old notebook computer.

Changing the platform resolved the problem. Thanks again!

You are welcome.

You should also remove that StartTask call. The task is started by the code in the main task when it sees that the autonomous period has started.