lassoApp_include
Includes a resource from a LassoApp package.
Target
Signature
1lassoApp_include(path::string, as::string= ?, extra= ?)Includes a resource from a LassoApp package.
lassoApp_include is a global callable that can be used wherever an expression is valid. lassoApp_include appears in project setup, source loading, or packaging code. Keep paths explicit, load reusable definitions once, and choose template mode only when literal output is part of the file.
Parameters
path- Required value of type
string. Supplypathpositionally unless the signature shows a keyword form. as- Optional value of type
string. Supplyaspositionally unless the signature shows a keyword form. extra- Optional value. Supply
extrapositionally unless the signature shows a keyword form.
Examples
Basic call
1lassoApp_include('/views/home.lasso')The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.