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
p!(val);
PrintLine 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
ps!(val);
PrintSingle prints without a newline attached, ignores formatting. Same behavior as PrintLine otherwise.
Example:
ps!(2 + 2);
ps!(4);
Output:
44
sp!(val);
SuperPrint prints a newline attached and also with formatting.
Example:
p!(2.0);
sp!(2.0);
Output:
2
2.0