Programming‎ > ‎RobotC‎ > ‎

Built in Functions

  • memcpy (pToBuffer, pFromBuffer, nNumbOfBytes) - Function copies characters from 'pFromBuffer' to 'pToBuffer'. ‘nBytesToCopy’ is the number of bytes to copy. Identical to the function found in conventional C 'string.h' library. 
  • writeDebugStream() - Writes a String to the Debug Stream.
    // Writes the current value of int 'x' to the debug stream.
    writeDebugStream("int x is: %d", x);
    
  • writeDebugStreamLine() - Writes a String to the Debug Stream starting on a new line.
    // Writes the current value of int 'x' to the debug stream on a new line.
    writeDebugStreamLine("int x is: %d", x);
    
Comments