Can you get Voltage readings from the Vex Microcontroller in RobotC?

Hello, We are a rookie team. We were wondering if there was possibly a function in robotC that would return the voltage of a specific port? If you know anything, please do share. If this cannot be done in robotc, are there any easy-to-use alternatives other than robotc that might include these functions. (installation on these alternative IDEs would be much appreciated) Thank you.

Are we talking motor ports? Analog ports? Digital Ports?

Analog and Digital, yes.
Motor, no.

Use SensorValue portxx ] to read values.

what about showing battery voltage on the lcd screen?

RobotC has some example code on their blog here.

I can see my mentor coming over and saying what in hevans name is this?:eek: