ws = new('netWorkSpace', 'nws example')
# If variable 'x' is not found in the shared netWorkSpace, return default value, NULL.
nwsFetchTry(ws, 'x')
# If variable 'x' is not found in the shared netWorkSpace, return 10.
nwsFetchTry(ws, 'x', 10)Run the code above in your browser using DataLab