IncludeDefinitions

IncludeDefinitions

is an option for cloud and other functions that specifies whether current definitions relevant for the evaluation of an expression should be explicitly included when the expression is deployed.

Details

Examples

open all close all

Basic Examples  (2)

Include a definition from the current kernel session in a cloud object that is evaluated in a web request:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Do not include a definition from the current kernel session; instead, load it from a file during evaluation:

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

CloudEvaluate also supports IncludeDefinitions. Compare the behavior of including definitions or not:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Applications  (1)

Introduced in 2019
(12.0)