Skip to content

post

I/O · builtin

Writes values to the output log. This is CL++‘s standard print — the analog of C printf / C++ std::cout / Luau print.

void post(...);
NameTypeDescription
...anyValues to print, separated by commas.

void. Nothing is returned.

print(...)

Every argument is forwarded to Luau print. There is no format string. Concatenate text with .: before printing, or pass several arguments.

Prefer post over legacy cout.

post("hello");
post("coins:", 100);
post("online: " .: players.GetPlayers());

Emits:

print("hello")
print("coins:", 100)
print("online: " .. players:GetPlayers())

warn · report · cout · operator-concat