How do I program a four wheel drive?

So basically I’m trying to program a four wheel drive (Ri3D robot). I’m assuming I just configure it like each motor as itself instead of as a drivetrain? Is there an easier way to do it? Also, instead of coding each motor to “spin” can I command it to turn for a number of inches? Or how many spins is each inch? Thanks.

If you are using VexCode, here is an excellent explanation. It covers drive trains with 4 motors and also drives with and without gyroscopes.

I did not make this all credit to @jpearman