VARIABLE::SOURCE 1g 2023-07-06 laplante@plcb.ca GOWEB/VARIABLE


title: “GoWeb VARIABLE::SOURCE Function” author: “Pierre Laplante” date: 2025-08-30 version: “1.0.0” section: “1g”

module: “Goweb/variable”

VARIABLE::SOURCE

Synopsis

variable::source() or simply source()

Description

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.

Examples

res = {
    source()
}.

might return:

res = cli.

Author

Pierre Laplante laplante@plcb.ca

See Also

Version