title: “GoWeb VARIABLE::SOURCE Function” author: “Pierre Laplante” date: 2025-08-30 version: “1.0.0” section: “1g”
variable::source() or simply source()
The source() function returns the execution source of the GoWeb process.
It indicates whether the execution context is from the CLI or through the Web interface.
This can be useful for conditional logic depending on how GoWeb is invoked.
res = {
source()
}.
might return:
res = cli.
Pierre Laplante laplante@plcb.ca