Printf (Print.sc)¶
-
Printf
(theText [params ...])¶ Prints text on the screen using. The text may contain the following formatting characters:
- %d
- Formats a number in decimal.
- %x
- Formats a number in hexadecimal.
- %s
- Formats a string.
Parameters: theText (string) – A string of text containing formatting characters. Example usage:
(Printf "Your name is %s, and you have %d hit points" name hitPoints)