Zanqual API (ComputerCraft Simplified API) Wiki
Register
Advertisement

Explaination[]

This function is a shortcut of print(text).

Type: Short-Func

How to use[]

Syntax: p([any text you want])

Pros[]

It's very short and you can use it in private long programs.

Cons[]

When you publish your program and it contains this function, 99% of the people who try out your published program will get the error message attempt to call nil .

The newest update (0.4) has modified the print(text) function to make them write color. But p(text) can't do this. The p-function-creator is above the print-modifier and just returns the old unmodified print function.

Advertisement