Print and Its Sibling Macros - LieutenantTeaTM/BubbleTea GitHub Wiki

Printing is typically done with p!(); which will print with a newline, however there is other ways to print as well.

Print Macros

PrintLine p!(val);

prints with a newline attached, ignores formatting. This will cause floats that have a whole number value to appear as a whole number for instance.

Example:

p!(2 + 2);
Output:
4

PrintSingle ps!(val);

prints without a newline attached, ignores formatting. Same behavior as PrintLine otherwise.

Example:

ps!(2 + 2);
ps!(4);
Output:
44

SuperPrint sp!(val);

prints a newline attached and also with formatting.

Example:

p!(2.0);
sp!(2.0);
Output:
2
2.0