(34 lines)
1 '\" t2 .\" Copyright (c) 2025 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH setenv 3 2025-11-29 "Tomo man-pages"6 .SH NAME7 setenv \- set an environment variable8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI setenv\ :\ func(name:\ Text,\ value:\ Text?\ ->\ Void)13 .fi14 .SH DESCRIPTION15 Sets an environment variable.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 name Text The name of the environment variable to set.26 value Text? The new value of the environment variable. If \fBnone\fR, then the environment variable will be unset.27 .TE28 .SH RETURN29 Nothing.31 .SH EXAMPLES32 .EX33 setenv("FOOBAR", "xyz")34 .EE