aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-say.3
blob: 7d40a88e5974cfffe0851304105d29c388b6506e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH say 3 2025-11-29 "Tomo man-pages"
.SH NAME
say \- print some text
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI say\ :\ func(text:\ Text,\ newline:\ Bool\ =\ yes\ ->\ Void)
.fi
.SH DESCRIPTION
Prints a message to the console.


.SH ARGUMENTS

.TS
allbox;
lb lb lbx lb
l l l l.
Name	Type	Description	Default
text	Text	The text to print. 	-
newline	Bool	Whether or not to print a newline after the text. 	yes
.TE
.SH RETURN
Nothing.

.SH EXAMPLES
.EX
say("Hello ", newline=no)
say("world!")
.EE