Name

print()

Examples
def setup(): 
    # Create a file in the sketch directory
    global output
    output = createWriter("positions.txt")
def draw(): 
    point(mouseX, mouseY)
    output.println(mouseX)# Write the coordinate to the file
def keyPressed(): 
    output.flush()# Writes the remaining data to the file
    output.close()# Finishes the file
    exit()# Stops the program
Description
Syntax
pw.println(data)
Parameters
pw
data
Updated on Sun Aug 30 12:17:17 2015.
Creative Commons License