IME Programming in easyC

Hey everyone,
Can anyone tell me about using Integrated Motor Encoders (IMEs) for driving? I use easyC and am wondering how to program them. I know easyC has the “Smart Motor…” and “Smart Motor Driving…” blocks, but I do not know how to use the encoders. I know that I can convert the distance I want to travel into motor rotations, but I do not know how to drive with the encoders.
Thanks in advance!