Can someone help me compile this?

Im trying to write the driver code for our robotics team and im struggling to swap over to the new vexcode system.

Drivetrain.drive(forward, Controller1.Axis3.position(),pct);

could someone tell me why this doesnt compile and how to fix it?

Please, check out this VEXcode example to see if you missing something in your code:

If it doesn’t help, please, post your full program code enclosed in [code]...[/code] tags back to this thread, so we could take a closer look.

Also

https://help.vex.com/article/403-how-to-import-vex-projects-to-vexcode-v5-text
https://help.vex.com/article/436-how-to-create-a-project-using-the-competition-template-vexcode-v5-text