Originally Posted by freetrader0000
Are there any functions that allow you to print anything to the screen in RobotC
? Like the printf function in C. I already posted this on the robotC forum though it's not as active as this one.
Good News and Bad News...
According to the Help, in Section "Debugger Vs. Traditional Methods
", there is a "print function" :
If your robot platform supports a display device (which could be a serial link to your PC or an LCD display on the robot) then you would have to add “print” statements to your program code at various points in your program. By examining the display, you can (hopefully) determine what’s happened in your program's execution by the display.
Both of the above techniques are available in ROBOTC. However, a real-time debugger eliminates the need to resort to them.
Unfortunately, there seems to be no reference in the Help for the Format of the "Print Function". Even using the Help shipped with ROBOTC
v1.40, which is new than the one shipped with ROBOTC v1.70b.